diff options
author | Astro <astro@spaceboyz.net> | 2022-08-06 01:31:19 +0200 |
---|---|---|
committer | ehmry <ehmry@posteo.net> | 2022-08-05 21:00:19 -0500 |
commit | 7727c70a52fcfe186b7d42581db6307617ec9b6e (patch) | |
tree | 3ed9a96165322fe60ce4185795ad15974a29cef7 /pkgs/games/wargus | |
parent | 633312813703642a14acd042c5a068968978a25d (diff) | |
download | nixpkgs-7727c70a52fcfe186b7d42581db6307617ec9b6e.tar nixpkgs-7727c70a52fcfe186b7d42581db6307617ec9b6e.tar.gz nixpkgs-7727c70a52fcfe186b7d42581db6307617ec9b6e.tar.bz2 nixpkgs-7727c70a52fcfe186b7d42581db6307617ec9b6e.tar.lz nixpkgs-7727c70a52fcfe186b7d42581db6307617ec9b6e.tar.xz nixpkgs-7727c70a52fcfe186b7d42581db6307617ec9b6e.tar.zst nixpkgs-7727c70a52fcfe186b7d42581db6307617ec9b6e.zip |
wargus: fixup path in .desktop file
Diffstat (limited to 'pkgs/games/wargus')
-rw-r--r-- | pkgs/games/wargus/default.nix | 2 |
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} |