diff options
Diffstat (limited to 'scripts/nix-install-package.in')
-rw-r--r-- | scripts/nix-install-package.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-install-package.in b/scripts/nix-install-package.in index 35f6d6824838..dc46c8cb22cb 100644 --- a/scripts/nix-install-package.in +++ b/scripts/nix-install-package.in @@ -129,7 +129,7 @@ system("@bindir@/nix-pull", $manifestURL) == 0 print "\nInstalling package...\n"; -system("@bindir@/nix-env", "--install", $outPath, @extraNixEnvArgs) == 0 +system("@bindir@/nix-env", "--install", $outPath, "--force-name", $drvName, @extraNixEnvArgs) == 0 or barf "nix-env failed: $?"; |