diff options
Diffstat (limited to 'scripts/nix-install-package.in')
-rw-r--r-- | scripts/nix-install-package.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/nix-install-package.in b/scripts/nix-install-package.in index e37911e33438..9f848b16dcbf 100644 --- a/scripts/nix-install-package.in +++ b/scripts/nix-install-package.in @@ -123,6 +123,11 @@ if ($interactive) { } +# Store the manifest in the temporary directory so that we don't +# pollute /nix/var/nix/manifests. +$ENV{NIX_MANIFESTS_DIR} = $tmpDir; + + print "\nPulling manifests...\n"; system("$binDir/nix-pull", $manifestURL) == 0 or barf "nix-pull failed: $?"; |