cached-nix-shell: improve robustness of postInstall

This commit is contained in:
Cole Helbling 2020-05-03 18:45:39 -07:00
parent 667d0a414e
commit 586e230d8b
No known key found for this signature in database
GPG key ID: B37E0F2371016A4C

View file

@ -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
'';