Skip to content

Commit

Permalink
Merge pull request NixOS#284098 from Stunkymonkey/armagetronad-deskto…
Browse files Browse the repository at this point in the history
…p-icon
  • Loading branch information
fpletz authored Jan 29, 2024
2 parents 3432be0 + c6a79c0 commit 1000d29
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/games/armagetronad/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down

0 comments on commit 1000d29

Please sign in to comment.