nixpkgs/nixos/modules/installer/tools
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
..
nixos-build-vms Remove some obsolete references to <nixos> 2015-08-05 17:37:08 +02:00
auto-upgrade.nix Add auto update feature 2015-08-07 05:37:31 +02:00
get-version-suffix Mark builds from git explicitly 2014-05-01 15:05:14 +02:00
nixos-checkout.nix Unify NixOS and Nixpkgs channel structure 2015-08-05 17:37:11 +02:00
nixos-generate-config.pl nixos-generate-config: Don't enable vbox guest via deprecated option 2015-08-16 00:32:37 +02:00
nixos-install.sh nixos-install: Don't use NIX_BUILD_HOOK from caller's environment 2015-09-30 23:02:21 +03:00
nixos-option.sh Merge pull request #5416 from nbp/nixos-option-include 2014-12-21 15:11:11 -08:00
nixos-rebuild.sh Update fallback Nix store paths 2015-08-05 14:34:57 +02:00
nixos-version.sh Add option to display git revision to nixos-version 2014-12-27 21:43:04 +01:00
tools.nix Add auto update feature 2015-08-07 05:37:31 +02:00