forked from mirrors/nixpkgs
Merge pull request #86701 from cole-h/rust-cleanup
This commit is contained in:
commit
fbf200d46a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue