diff options
author | Cole Helbling <cole.e.helbling@outlook.com> | 2020-05-03 18:45:39 -0700 |
---|---|---|
committer | Cole Helbling <cole.e.helbling@outlook.com> | 2020-05-03 18:45:58 -0700 |
commit | 586e230d8b91825c9f7ebe76329976597c6f706e (patch) | |
tree | 1d88afd960f7f2c29f1e07680b2ba717ef069d05 | |
parent | 667d0a414ef82de9e0943258ae3d52bce42a2e91 (diff) | |
download | nixpkgs-586e230d8b91825c9f7ebe76329976597c6f706e.tar nixpkgs-586e230d8b91825c9f7ebe76329976597c6f706e.tar.gz nixpkgs-586e230d8b91825c9f7ebe76329976597c6f706e.tar.bz2 nixpkgs-586e230d8b91825c9f7ebe76329976597c6f706e.tar.lz nixpkgs-586e230d8b91825c9f7ebe76329976597c6f706e.tar.xz nixpkgs-586e230d8b91825c9f7ebe76329976597c6f706e.tar.zst nixpkgs-586e230d8b91825c9f7ebe76329976597c6f706e.zip |
cached-nix-shell: improve robustness of postInstall
-rw-r--r-- | pkgs/tools/nix/cached-nix-shell/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/nix/cached-nix-shell/default.nix b/pkgs/tools/nix/cached-nix-shell/default.nix index dc69d3f030d..03f6bc2b117 100644 --- a/pkgs/tools/nix/cached-nix-shell/default.nix +++ b/pkgs/tools/nix/cached-nix-shell/default.nix @@ -34,7 +34,7 @@ in rustPlatform.buildRustPackage rec { postInstall = '' mkdir -p $out/lib $out/share/cached-nix-shell $out/share/man/man1 $out/var/empty - cp target/release/build/cached-nix-shell-*/out/trace-nix.so $out/lib + cp $releaseDir/build/cached-nix-shell-*/out/trace-nix.so $out/lib cp rcfile.sh $out/share/cached-nix-shell/rcfile.sh cp cached-nix-shell.1 $out/share/man/man1 ''; |