mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
Merge pull request #284098 from Stunkymonkey/armagetronad-desktop-icon
This commit is contained in:
commit
1000d29be1
@ -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 New Issue
Block a user