summary refs log tree commit diff
path: root/pkgs/games/wargus/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/wargus/default.nix')
-rw-r--r--pkgs/games/wargus/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/games/wargus/default.nix b/pkgs/games/wargus/default.nix
index 9cae3c53784..ca4b70923ec 100644
--- a/pkgs/games/wargus/default.nix
+++ b/pkgs/games/wargus/default.nix
@@ -46,6 +46,8 @@ stdenv.mkDerivation rec {
   postInstall = ''
     makeWrapper $out/games/wargus $out/bin/wargus \
       --prefix PATH : ${lib.makeBinPath [ "$out" ]}
+    substituteInPlace $out/share/applications/wargus.desktop \
+      --replace $out/games/wargus $out/bin/wargus
 
     $out/bin/wartool -v -r ${data} $out/share/games/stratagus/wargus
     ln -s $out/share/games/stratagus/wargus/{contrib/black_title.png,graphics/ui/black_title.png}