about summary refs log tree commit diff
path: root/pkgs/games/assaultcube
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-02-16 18:48:46 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-02-20 01:01:46 +0700
commit223f25cf4a2ca9e2b35801eb0c43540151df89b9 (patch)
treea43b8bfb6b924ef794f2cba0867df97f2ce1b70c /pkgs/games/assaultcube
parentad4db3f4d8ae54482c63c31c14921cb73953548d (diff)
treewide: add targetPrefix to hardcoded references to CC=cc
Diffstat (limited to 'pkgs/games/assaultcube')
-rw-r--r--pkgs/games/assaultcube/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/assaultcube/default.nix b/pkgs/games/assaultcube/default.nix
index 0206821f38738..a2c00ddc149bd 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=${stdenv.cc.targetPrefix}c++" targets ];
 
   desktop = makeDesktopItem {
     name = "AssaultCube";