aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-install-package.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-25 14:00:59 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-25 14:00:59 +0000
commit3632019b737d1c570a3c30f4f3f07763b5b1d23c (patch)
tree0c966c09000394dc5404771816ccd2a20902af0f /scripts/nix-install-package.in
parentd43565c3e837feea478aaa71bad7e0a92c1911f0 (diff)
* Quick hack to let nix-install-package set the package name properly
(e.g., "java-front-0.9pre15899" instead of "java-front"; particularly important when doing upgrades later on).
Diffstat (limited to 'scripts/nix-install-package.in')
-rw-r--r--scripts/nix-install-package.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-install-package.in b/scripts/nix-install-package.in
index 35f6d6824..dc46c8cb2 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: $?";