3
0
Fork 0
forked from mirrors/nixpkgs

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
This commit is contained in:
Maximilian Bosch 2022-01-28 20:52:45 +01:00
parent b43a3567ec
commit 6320b7240f
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -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"