nixpkgs/nixos/modules
Tuomas Tynkkynen 725a4d6740 nixos-install: Don't use NIX_BUILD_HOOK from caller's environment
If nixos-install is run on a machine with `nix.distributedBuilds = true`
the installation will fail at some point like this:

Died at /nix/store/4frhrl31cl7iahlz6vyvysy5dmr6xnh3-nix-1.10/libexec/nix/build-remote.pl line 115, <STDIN> line 1.

This is due to `nix.distributedBuilds` setting
NIX_BUILD_HOOK=/nix/store/.../build-remote.pl in the global environment,
which then gets confused in the minimal chroot created by nixos-install.

To avoid these kinds of issues with build hooks, just disable them in
the chroot.
2015-09-30 23:02:21 +03:00
..
config nixos/fonts: Add unifont to list of default fonts. 2015-09-26 21:04:15 +02:00
hardware Put all firmware in $out/lib/firmware 2015-08-25 00:40:34 +02:00
installer nixos-install: Don't use NIX_BUILD_HOOK from caller's environment 2015-09-30 23:02:21 +03:00
misc xtreemfs: add nixos module 2015-09-22 21:46:52 +02:00
profiles nixos: add xfs support to profiles/minimal 2015-09-18 18:58:18 +00:00
programs Manual: Remove store path references 2015-09-24 11:50:58 +02:00
security nixos: fix some types 2015-09-18 18:48:50 +00:00
services Shut up a KDE warning when a user first logs in 2015-09-28 15:14:44 +02:00
system Remove unnecessary "|| true" from the stage 1 script 2015-09-28 22:15:47 +02:00
tasks Merge pull request #9982 from KoviRobi/fix-encrypted-non-root-devices 2015-09-27 12:42:08 +02:00
testing test-instrumentation.nix: Prevent calling a pager 2015-01-15 14:39:29 +01:00
virtualisation Blacklist the xen_fbfront kernel module 2015-09-28 22:15:47 +02:00
module-list.nix xtreemfs: add nixos module 2015-09-22 21:46:52 +02:00
rename.nix nixos: give users of 'services.openvpn.enable' a nice warning message 2015-09-10 11:38:43 +02:00