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" \
${lib.escapeShellArg package} \
${buildMethod} \
-${if buildShared then "S" else "s"}uvr \
-${if buildShared then "S" else "s"}uvr "-H$NIX_BUILD_CORES" \
${flagsString} \
$out/${output}

View file

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