From 807a308623441b6b765728d22751356d6e274a17 Mon Sep 17 00:00:00 2001 From: Corey O'Connor Date: Mon, 26 Mar 2018 12:31:11 -0700 Subject: [PATCH] qtwebengine: correct how NIX_BUILD_CORES is propagated to the gn driven ninja. --- pkgs/development/libraries/qt-5/modules/qtwebengine.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-5/modules/qtwebengine.nix b/pkgs/development/libraries/qt-5/modules/qtwebengine.nix index df9995bc3b9..7e91cff065d 100644 --- a/pkgs/development/libraries/qt-5/modules/qtwebengine.nix +++ b/pkgs/development/libraries/qt-5/modules/qtwebengine.nix @@ -63,8 +63,9 @@ qtModule { src/3rdparty/chromium/gpu/config/gpu_info_collector_linux.cc ''; + preConfigure = '' - export MAKEFLAGS=-j$NIX_BUILD_CORES + export NINJAFLAGS=-j$NIX_BUILD_CORES if [ -d "$PWD/tools/qmake" ]; then QMAKEPATH="$PWD/tools/qmake''${QMAKEPATH:+:}$QMAKEPATH"