chromium: build on $NIX_BUILD_CORES

This commit is contained in:
volth 2020-10-16 12:54:34 +00:00
parent 5742fcdfa9
commit 8e861c07ce
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,7 @@ let
buildPhase = let
buildCommand = target: ''
ninja -C "${buildPath}" "${target}"
ninja -C "${buildPath}" -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES "${target}"
(
source chrome/installer/linux/common/installer.include
PACKAGE=$packageName

View File

@ -353,7 +353,7 @@ let
buildPhase = let
buildCommand = target: ''
ninja -C "${buildPath}" "${target}"
ninja -C "${buildPath}" -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES "${target}"
(
source chrome/installer/linux/common/installer.include
PACKAGE=$packageName