aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
authorAlexander Bantyev <balsoft@balsoft.ru>2020-09-25 00:07:42 +0300
committerAlexander Bantyev <balsoft@balsoft.ru>2020-09-25 00:07:42 +0300
commited218e1d6cf755fc3011c0954eb7031f95d3d732 (patch)
tree9aac5110a955db9976c6f7dbac4b080a460f2586 /bootstrap.sh
parent8d9402f411643c451cf2a0776afcb3a1af0f9a8c (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 'bootstrap.sh')
0 files changed, 0 insertions, 0 deletions