From b983f84b1f4d1faa3c972da7433e22bcf54b9435 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Wed, 6 Sep 2023 23:26:59 -0400 Subject: wine: install in parallel On a 48-thread CPU, this reduced the time of `nix-build -A wineWowPackages.stable` from ~15 min. to ~10 min. --- pkgs/applications/emulators/wine/builder-wow.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/applications/emulators/wine') diff --git a/pkgs/applications/emulators/wine/builder-wow.sh b/pkgs/applications/emulators/wine/builder-wow.sh index f07b1e8c249c..7608e5c57eb4 100644 --- a/pkgs/applications/emulators/wine/builder-wow.sh +++ b/pkgs/applications/emulators/wine/builder-wow.sh @@ -45,7 +45,7 @@ buildPhase # checkPhase eval "$preInstall" -cd $TMP/wine-wow && make install -cd $TMP/wine64 && make install +cd $TMP/wine-wow && make install -j$NIX_BUILD_CORES +cd $TMP/wine64 && make install -j$NIX_BUILD_CORES eval "$postInstall" fixupPhase -- cgit 1.4.1