Merge pull request #239523 from marsam/fix-fetchgit
fetchgit: add a default NIX_BUILD_CORES variable
This commit is contained in:
commit
4a288b4f6b
|
@ -206,7 +206,7 @@ checkout_ref(){
|
|||
|
||||
# Update submodules
|
||||
init_submodules(){
|
||||
clean_git submodule update --init --recursive -j $NIX_BUILD_CORES
|
||||
clean_git submodule update --init --recursive -j ${NIX_BUILD_CORES:-1}
|
||||
}
|
||||
|
||||
clone(){
|
||||
|
|
Loading…
Reference in a new issue