Files
Archit Gupta 4ffea8eb91 buildCrystalPackage: set CRYSTAL_WORKERS to NIX_BUILD_CORES
Crystal runs CPU detection to figure out worker count if not explicitly
set. This detection code has a bug and errors on machines with >= 128
CPUs, since it uses an 8 bit integer for counting CPUs. Large CPU counts
do work if the CPU detection code is skipped. This sets CRYSTAL_WORKERS
to NIX_BUILD_CORES to avoid the CPU detection code.

Assisted-by: Codex (GPT-5.6 Sol)
2026-09-06 19:38:27 -07:00
..