diff options
author | Alexander Bantyev <balsoft@balsoft.ru> | 2020-09-25 00:07:42 +0300 |
---|---|---|
committer | Alexander Bantyev <balsoft@balsoft.ru> | 2020-09-25 00:07:42 +0300 |
commit | ed218e1d6cf755fc3011c0954eb7031f95d3d732 (patch) | |
tree | 9aac5110a955db9976c6f7dbac4b080a460f2586 /m4 | |
parent | 8d9402f411643c451cf2a0776afcb3a1af0f9a8c (diff) |
Fix max-jobs option
After 0ed946aa616bbf7ffe7f90d3309abdd27d875b10, max-jobs setting (-j/--max-jobs)
stopped working.
The reason was that nrLocalBuilds (which compared to maxBuildJobs to figure
out whether the limit is reached or not) is not incremented yet when tryBuild
is started; So, the solution is to move the check to tryLocalBuild.
Closes https://github.com/nixos/nix/issues/3763
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions