* 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).
This commit is contained in:
Eelco Dolstra 2006-09-25 14:00:59 +00:00
parent d43565c3e8
commit 3632019b73
2 changed files with 12 additions and 2 deletions

View file

@ -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: $?";