qt6.qtwebengine: correct how NIX_BUILD_CORES is propagated to the gn ninja
port of https://github.com/NixOS/nixpkgs/pull/37889
This commit is contained in:
parent
d92b297a77
commit
0badfc4936
1 changed files with 4 additions and 0 deletions
|
@ -228,6 +228,10 @@ qtModule {
|
||||||
|
|
||||||
requiredSystemFeatures = [ "big-parallel" ];
|
requiredSystemFeatures = [ "big-parallel" ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
export NINJAFLAGS="-j$NIX_BUILD_CORES"
|
||||||
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
# This is required at runtime
|
# This is required at runtime
|
||||||
mkdir $out/libexec
|
mkdir $out/libexec
|
||||||
|
|
Loading…
Reference in a new issue