3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #86701 from cole-h/rust-cleanup

This commit is contained in:
Jörg Thalheim 2020-05-04 08:05:03 +01:00 committed by GitHub
commit fbf200d46a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ rustPlatform.buildRustPackage rec {
'' + (
if stdenv.isDarwin then ''
mkdir $out/Applications
cp -r target/release/osx/Alacritty.app $out/Applications/Alacritty.app
cp -r $releaseDir/osx/Alacritty.app $out/Applications/Alacritty.app
'' else ''
install -D extra/linux/Alacritty.desktop -t $out/share/applications/
install -D extra/logo/alacritty-term.svg $out/share/icons/hicolor/scalable/apps/Alacritty.svg

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