alacritty: improve robustness of installPhase (again)

I missed this one. Oops.
This commit is contained in:
Cole Helbling 2020-05-03 18:39:37 -07:00
parent d9b517fab9
commit 667d0a414e
No known key found for this signature in database
GPG key ID: B37E0F2371016A4C

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