summaryrefslogtreecommitdiffstats
path: root/pkgs/games/assaultcube
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/assaultcube')
-rw-r--r--pkgs/games/assaultcube/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/games/assaultcube/default.nix b/pkgs/games/assaultcube/default.nix
index 593622c3008b..7d83d3a7cdb7 100644
--- a/pkgs/games/assaultcube/default.nix
+++ b/pkgs/games/assaultcube/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs = [ file zlib ] ++ optionals client [ openal SDL SDL_image libogg libvorbis ];
targets = (optionalString server "server") + (optionalString client " client");
- makeFlags = [ "-C source/src" "CXX=c++" "${targets}" ];
+ makeFlags = [ "-C source/src" "CXX=c++" targets ];
desktop = makeDesktopItem {
name = "AssaultCube";
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
genericName = "First-person shooter";
categories = "Application;Game;ActionGame;Shooter";
icon = "assaultcube.png";
- exec = "${pname}";
+ exec = pname;
};
gamedatadir = "/share/games/${pname}";