summaryrefslogtreecommitdiffstats
path: root/pkgs/games/cataclysm-dda
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2022-01-28 20:52:45 +0100
committerMaximilian Bosch <maximilian@mbosch.me>2022-02-27 10:27:01 +0100
commit6320b7240f75d11b5a96bc03372a839c53427433 (patch)
tree415bd644239826947cb398025467b4a5626d510b /pkgs/games/cataclysm-dda
parentb43a3567eca70579e2a34e5fba3fda6154ea142f (diff)
cataclysm-dda: fix build w/glibc-2.34
* Enable parallel building to speed up the build-time. * Disable tests as vendored catch2 doesn't compile against glibc 2.34 and I couldn't get the tests to run in the sandbox. Failing Hydra build: https://hydra.nixos.org/build/163952121
Diffstat (limited to 'pkgs/games/cataclysm-dda')
-rw-r--r--pkgs/games/cataclysm-dda/common.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/games/cataclysm-dda/common.nix b/pkgs/games/cataclysm-dda/common.nix
index ccba8e23d5ae..33790cf88008 100644
--- a/pkgs/games/cataclysm-dda/common.nix
+++ b/pkgs/games/cataclysm-dda/common.nix
@@ -39,6 +39,8 @@ stdenv.mkDerivation {
buildInputs = cursesDeps ++ optionals tiles tilesDeps;
+ enableParallelBuilding = true;
+
postPatch = ''
patchShebangs .
@@ -49,7 +51,7 @@ stdenv.mkDerivation {
'';
makeFlags = [
- "PREFIX=$(out)" "LANGUAGES=all"
+ "PREFIX=$(out)" "LANGUAGES=all" "RUNTESTS=0"
(if useXdgDir then "USE_XDG_DIR=1" else "USE_HOME_DIR=1")
] ++ optionals (!debug) [
"RELEASE=1"