palemoon: Further limit build cores count

Still not consistent with 32. Let's try upstream's job count for releases.
This commit is contained in:
OPNA2608
2022-07-08 01:25:20 +02:00
parent b17f522053
commit 2cc04ccafe
@@ -115,7 +115,7 @@ stdenv.mkDerivation rec {
# Too many cores can lead to build flakiness
# https://forum.palemoon.org/viewtopic.php?f=5&t=28480
export jobs=$(($NIX_BUILD_CORES<=32 ? $NIX_BUILD_CORES : 32))
export jobs=$(($NIX_BUILD_CORES<=20 ? $NIX_BUILD_CORES : 20))
if [ -z "$enableParallelBuilding" ]; then
jobs=1
fi