diff options
Diffstat (limited to 'pkgs/games/armagetronad')
-rw-r--r-- | pkgs/games/armagetronad/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/games/armagetronad/default.nix b/pkgs/games/armagetronad/default.nix index fb0117f3e93e2..6bcc30ac011fb 100644 --- a/pkgs/games/armagetronad/default.nix +++ b/pkgs/games/armagetronad/default.nix @@ -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 = '' |