pkgs/ultimatepp: explicitly set umk build threads

This commit is contained in:
Wroclaw 2025-05-23 18:20:42 +02:00
parent 80a41ef45d
commit 4aa2e34ff6
2 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ stdenv.mkDerivation (self: {
"$assemblies" \ "$assemblies" \
${lib.escapeShellArg package} \ ${lib.escapeShellArg package} \
${buildMethod} \ ${buildMethod} \
-${if buildShared then "S" else "s"}uvr \ -${if buildShared then "S" else "s"}uvr "-H$NIX_BUILD_CORES" \
${flagsString} \ ${flagsString} \
$out/${output} $out/${output}

View file

@ -94,8 +94,8 @@ in {
if self.passthru.bootstrap then '' if self.passthru.bootstrap then ''
make -f umkMakefile -j $NIX_BUILD_CORES "$makeFlagsArray" make -f umkMakefile -j $NIX_BUILD_CORES "$makeFlagsArray"
'' else '' '' else ''
${lib.getExe' selfBootstrap "umk"} uppsrc ide ${buildMethod} -rvs ${lib.getExe' selfBootstrap "umk"} uppsrc ide ${buildMethod} -rvs "-H$NIX_BUILD_CORES"
${lib.getExe' selfBootstrap "umk"} uppsrc umk ${buildMethod} -rvs ${lib.getExe' selfBootstrap "umk"} uppsrc umk ${buildMethod} -rvs "-H$NIX_BUILD_CORES"
'') + '' '') + ''
runHook postBuild runHook postBuild
''; '';