diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2019-12-27 05:12:49 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-12-27 05:21:41 +0100 |
commit | 43442880cf6c48fae6e65bb8fdab3717c080a7fb (patch) | |
tree | b7ba05700494f659f264a633daa2ef6533b3dae0 /pkgs/games/cataclysm-dda | |
parent | 66237e1bcadd96a0fc17030798bc5df0067f077b (diff) |
cataclysm-dda: fix build on darwin
Diffstat (limited to 'pkgs/games/cataclysm-dda')
-rw-r--r-- | pkgs/games/cataclysm-dda/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/cataclysm-dda/default.nix b/pkgs/games/cataclysm-dda/default.nix index 9f34c60e16cb..ced19bffb31a 100644 --- a/pkgs/games/cataclysm-dda/default.nix +++ b/pkgs/games/cataclysm-dda/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation (common // rec { substituteInPlace lua/autoexec.lua --replace "/usr/share" "$out/share" ''; - NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-copy" ]; + NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=deprecated-copy"; makeFlags = common.makeFlags ++ [ "LUA=1" |