diff options
author | Francesco Gazzetta <fgaz@fgaz.me> | 2020-07-30 10:49:09 +0200 |
---|---|---|
committer | Francesco Gazzetta <fgaz@fgaz.me> | 2020-07-30 10:49:50 +0200 |
commit | 5d85ffea09033eea06a1f416c430eee575e3460c (patch) | |
tree | 4b1297fe777d31e176912b394bf32e24b42408d5 /pkgs/games/curseofwar | |
parent | 68b7fc27c4dc01817a4461c110000cdf8817cb39 (diff) |
curseofwar,curseofwar-sdl: fix darwin build
Diffstat (limited to 'pkgs/games/curseofwar')
-rw-r--r-- | pkgs/games/curseofwar/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/games/curseofwar/default.nix b/pkgs/games/curseofwar/default.nix index 2dbb667cc70d..9aff3798b6ba 100644 --- a/pkgs/games/curseofwar/default.nix +++ b/pkgs/games/curseofwar/default.nix @@ -20,7 +20,11 @@ stdenv.mkDerivation rec { SDL ]; - makeFlags = (if isNull SDL then [] else [ "SDL=yes" ]) ++ [ "PREFIX=$(out)" ]; + makeFlags = (if isNull SDL then [] else [ "SDL=yes" ]) ++ [ + "PREFIX=$(out)" + # force platform's cc on darwin, otherwise gcc is used + "CC=${stdenv.cc.targetPrefix}cc" + ]; meta = with stdenv.lib; { description = "A fast-paced action strategy game"; |