nixpkgs/nixos
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
..
doc/manual haskell: make ghc, cabal-install, and stack visible 2015-09-27 17:18:44 +02:00
lib Fix Nix database in generated images 2015-09-28 14:47:48 +02:00
maintainers Make EBS volumes much smaller 2015-09-28 22:15:47 +02:00
modules nixos-install: Don't use NIX_BUILD_HOOK from caller's environment 2015-09-30 23:02:21 +03:00
tests Remove superfluous root resizing test 2015-09-28 22:15:47 +02:00
COPYING Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
default.nix Fix nixos-option 2013-10-28 22:45:58 +01:00
README Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
release-combined.nix Disable lightdm test 2015-08-17 10:48:04 +02:00
release-small.nix release-small.nix: Drop the grub1 test 2015-08-11 13:51:55 +02:00
release.nix Disable the ec2-config test 2015-09-28 13:47:14 +02:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.