diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-03-11T15·27+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2005-03-11T15·27+0000 |
commit | 536f3241775c21566d68a0581c78154a908da35f (patch) | |
tree | bb8fe1802a26963477ca427cce79ef349183841c /scripts/nix-install-package.in | |
parent | 08df4436182a12a25aa45fcab2a13dbe71f7f10a (diff) |
* nix-install-package: install outPath, not drvPath, for now.
* nix-prefecth-url: print out in base-16.
Diffstat (limited to 'scripts/nix-install-package.in')
-rw-r--r-- | scripts/nix-install-package.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/nix-install-package.in b/scripts/nix-install-package.in index 4dc241ab76c0..f067af43d996 100644 --- a/scripts/nix-install-package.in +++ b/scripts/nix-install-package.in @@ -11,6 +11,7 @@ die unless defined $pkgFile; # from a web browser, the user gets to see us. if (!defined $ENV{"NIX_HAVE_TERMINAL"}) { $ENV{"NIX_HAVE_TERMINAL"} = "1"; + $ENV{"LD_LIBRARY_PATH"} = ""; exec("xterm", "-e", "@shell@", "-c", "@bindir@/nix-install-package '$pkgFile' || read"); die "cannot execute `xterm'"; } @@ -43,7 +44,7 @@ system "@bindir@/nix-pull '$manifestURL'"; die if $? != 0; print "\nInstalling package...\n"; -system "@bindir@/nix-env -i '$drvPath'"; +system "@bindir@/nix-env -i '$outPath'"; die if $? != 0; print "\nInstallation succeeded! Press Enter to continue.\n"; |