diff options
author | Nick Cao <nickcao@nichi.co> | 2022-10-16 09:34:23 +0800 |
---|---|---|
committer | Nick Cao <nickcao@nichi.co> | 2022-10-16 10:11:51 +0800 |
commit | 0badfc4936de7a895165ca170b422c443ca7e289 (patch) | |
tree | 5898842cad2129b63add9b792cfb1aa3929bddd5 /pkgs/development/libraries/qt-6 | |
parent | d92b297a77d28ee0aeec52829a9a4af1793d1806 (diff) |
qt6.qtwebengine: correct how NIX_BUILD_CORES is propagated to the gn ninja
port of https://github.com/NixOS/nixpkgs/pull/37889
Diffstat (limited to 'pkgs/development/libraries/qt-6')
-rw-r--r-- | pkgs/development/libraries/qt-6/modules/qtwebengine.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix index c365f3c068532..4dff38d3acc2d 100644 --- a/pkgs/development/libraries/qt-6/modules/qtwebengine.nix +++ b/pkgs/development/libraries/qt-6/modules/qtwebengine.nix @@ -228,6 +228,10 @@ qtModule { requiredSystemFeatures = [ "big-parallel" ]; + preConfigure = '' + export NINJAFLAGS="-j$NIX_BUILD_CORES" + ''; + postInstall = '' # This is required at runtime mkdir $out/libexec |