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:
parent
b43a3567ec
commit
6320b7240f
|
@ -39,6 +39,8 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = cursesDeps ++ optionals tiles tilesDeps;
|
buildInputs = cursesDeps ++ optionals tiles tilesDeps;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
|
||||||
|
@ -49,7 +51,7 @@ stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
makeFlags = [
|
makeFlags = [
|
||||||
"PREFIX=$(out)" "LANGUAGES=all"
|
"PREFIX=$(out)" "LANGUAGES=all" "RUNTESTS=0"
|
||||||
(if useXdgDir then "USE_XDG_DIR=1" else "USE_HOME_DIR=1")
|
(if useXdgDir then "USE_XDG_DIR=1" else "USE_HOME_DIR=1")
|
||||||
] ++ optionals (!debug) [
|
] ++ optionals (!debug) [
|
||||||
"RELEASE=1"
|
"RELEASE=1"
|
||||||
|
|
Loading…
Reference in a new issue