Skip to content

Commit 5b02830

Browse files
committed
fetchdocker: constrain build cores
1 parent bde84a5 commit 5b02830

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/build-support/fetchdocker/generic-fetcher.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ stdenv.mkDerivation {
7676
''${DOCKER_TOKEN:+--token "$DOCKER_TOKEN"} \
7777
${layerDigestFlag} \
7878
"${repository}/${imageName}" \
79-
"${tag}"
79+
"${tag}" \
80+
+RTS -N''${NIX_BUILD_CORES} -RTS
8081
8182
stopNest
8283
'';

0 commit comments

Comments
 (0)