volth
October 14, 2018, 6:00pm
21
@coretemp I guess half of nixpkgs members do something cryptocurrency-related, so expect St.Kitts passports and BVI companies with offices in Dubai and mining pool in Canada operated from Lapland forest.
3 Likes
pvgoran
October 21, 2018, 7:35am
22
If you have any specific ones to list here, I would be happy to take a look at them.
PRs:
NixOS:master
← pvgoran:tomcat-virtualhost-aliases
opened 02:51PM - 23 Sep 18 UTC
###### Motivation for this change
Specifying aliases is an essential part of … the virtual host feature.
###### Things done
- [x] Tested using sandboxing ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS, or option `sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file) on non-NixOS)
- Built on platform(s)
- [ ] NixOS
- [ ] macOS
- [ ] other Linux distributions
- [ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))
- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run "nox-review wip"`
- [ ] Tested execution of all binary files (usually in `./result/bin/`)
- [ ] Determined the impact on package closure size (by running `nix path-info -S` before and after)
- [x] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).
---
NixOS:master
← pvgoran:tomcat-clean-basedir
opened 01:23PM - 01 Aug 18 UTC
With this option enabled, before creating file/directories/symlinks in baseDir a… ccording to configuration, old occurences of them are removed.
This prevents remainders of an old configuration (libraries, webapps, you name it) from persisting after activating a new configuration.
###### Things done
- [x] Tested using sandboxing ([nix.useSandbox](http://nixos.org/nixos/manual/options.html#opt-nix.useSandbox) on NixOS, or option `sandbox` in [`nix.conf`](http://nixos.org/nix/manual/#sec-conf-file) on non-NixOS)
- Built on platform(s)
- [x] NixOS
- [ ] macOS
- [ ] other Linux distributions
- [ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside [nixos/tests](https://github.com/NixOS/nixpkgs/blob/master/nixos/tests))
- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nox --run "nox-review wip"`
- [ ] Tested execution of all binary files (usually in `./result/bin/`)
- [ ] Determined the impact on package closure size (by running `nix path-info -S` before and after)
- [x] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).
---
There is also an issue/bug:
opened 07:57AM - 19 Apr 18 UTC
closed 11:05AM - 01 Jan 23 UTC
## Issue description
I have a process that creates a "clean" NixOS filesystem… tree for later usage. First, I create the minimal NixOS configuration files at $ROOT/etc/nixos, then I run:
```
nixos-install --no-bootloader --no-root-passwd --root "$ROOT"
nixos-enter --root "$ROOT" -- true
```
(Before 18.03, it worked without `nixos-enter`. I'm not very happy that now I need an additional step, and I'll probably create a separate issue about this. But I can understand that `nixos-install` creates a minimal installation and `nixos-enter` activates it.)
I expect to be able to chroot into the resulting filesystem tree and have a fully-working NixOS system. However, these steps don't create the `/tmp` directory, which prevents `nixos-rebuild` from working:
```
[root@nixos-seed:/]# nixos-rebuild dry-build
mktemp: failed to create directory via template ‘/tmp/nixos-rebuild.XXXXXX’: No such file or directory
```
### Steps to reproduce
Build the NixOS tree:
```
mkdir seed
mkdir -p seed/etc/nixos
cat >seed/etc/nixos/configuration.nix <<END
{ config, pkgs, ... }:
{
boot.loader.grub.enable = true;
boot.loader.grub.version = 2;
boot.loader.grub.device = "/dev/dummy";
fileSystems."/" =
{ device = "/dev/dummy";
fsType = "ext4";
};
}
END
nixos-install --no-bootloader --no-root-passwd --root $(realpath seed)
nixos-enter --root $(realpath seed) -- true
```
Then try to work in it:
```
nixos-enter --root $(realpath seed) -- nixos-rebuild dry-build
```
## Technical details
- system: `"x86_64-linux"`
- host os: `Linux 4.14.34, NixOS, 18.03.132021.c0c5571ec1a (Impala)`
- multi-user?: `yes`
- sandbox: `no`
- version: `nix-env (Nix) 2.0`
- channels(paul): `""`
- channels(root): `"nixos-18.03.132021.c0c5571ec1a"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`
tokudan
October 24, 2018, 12:29pm
23
This PR is for critical security issues in firefox, please have a look and merge soon:
https://github.com/NixOS/nixpkgs/pull/48862