1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00

Merge pull request #284098 from Stunkymonkey/armagetronad-desktop-icon

This commit is contained in:
Franz Pletz 2024-01-30 00:43:31 +01:00 committed by GitHub
commit 1000d29be1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,6 +129,12 @@ let
nativeBuildInputs = [ autoconf automake gnum4 pkg-config which python3 ]
++ extraNativeBuildInputs;
postInstall = lib.optionalString (!dedicatedServer) ''
mkdir -p $out/share/{applications,icons/hicolor}
ln -s $out/share/games/armagetronad/desktop/armagetronad*.desktop $out/share/applications/
ln -s $out/share/games/armagetronad/desktop/icons $out/share/icons/hicolor
'';
doInstallCheck = true;
installCheckPhase = ''