This passes -j flags down from MAKEFLAGS to nix and cabal to speed up builds for me. It also sets ERA=coay and there could be some wanting to change the semantics of how JOBS and NUM_PROCS signal whether to do parallel builds or not. If the Makefile is largely at our group's discretion, it makes sense to just merge the commits instead of carrying them around & cherry-picking them all the time.
Checklist
[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated. These may include:
Description
This passes -j flags down from MAKEFLAGS to nix and cabal to speed up builds for me. It also sets ERA=coay and there could be some wanting to change the semantics of how JOBS and NUM_PROCS signal whether to do parallel builds or not. If the Makefile is largely at our group's discretion, it makes sense to just merge the commits instead of carrying them around & cherry-picking them all the time.
Checklist
CHANGELOG.md
for affected package.cabal
files are updatedhlint
. See.github/workflows/check-hlint.yml
to get thehlint
versionstylish-haskell
. See.github/workflows/stylish-haskell.yml
to get thestylish-haskell
versionghc-8.10.7
andghc-9.2.7
Note on CI
I don't believe CI uses this for test runs, so it's unlikely to have impacts on it.