about summary refs log tree commit diff
path: root/pkgs/games/xonotic
diff options
context:
space:
mode:
authorMilan Pässler <mil@nyantec.com>2020-12-19 21:11:21 +0100
committerMilan Pässler <mil@nyantec.com>2020-12-19 21:15:20 +0100
commit40262d4559bde29914feebe729f39323be58acdf (patch)
treeee7eb1da4a2b0f804d38125c4bfb8f123c63342f /pkgs/games/xonotic
parentcb312f3d03dbaf2d60e2fd3917ba2e5d41ffe631 (diff)
xonotic: fix desktop item
The desktop item was referring to "$out/bin/xonotic" as executable, but
since it's built in its own derivation now, "$out" did not contain the
xonotic wrapper.
Since it seems to be common practise to use a relative path, I changed
it to do that here as well.
Diffstat (limited to 'pkgs/games/xonotic')
-rw-r--r--pkgs/games/xonotic/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/xonotic/default.nix b/pkgs/games/xonotic/default.nix
index 60ebdcf8eebf6..6f7ee6962bf8f 100644
--- a/pkgs/games/xonotic/default.nix
+++ b/pkgs/games/xonotic/default.nix
@@ -45,7 +45,7 @@ let
 
   desktopItem = makeDesktopItem {
     name = "xonotic";
-    exec = "$out/bin/xonotic";
+    exec = "xonotic";
     comment = meta.description;
     desktopName = "Xonotic";
     categories = "Game;Shooter;";