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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user