armagetronad: fix desktop icon

This commit is contained in:
Felix Buehler 2024-01-26 21:41:11 +01:00
parent 1aa4e31045
commit c6a79c0b35

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