armagetronad: fix desktop icon
This commit is contained in:
parent
1aa4e31045
commit
c6a79c0b35
1 changed files with 6 additions and 0 deletions
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue