From 4df8fb6bbaf68f27f15c1488c4ad9182416f23bd Mon Sep 17 00:00:00 2001 From: Aristid Breitkreuz Date: Wed, 8 Apr 2015 19:43:11 +0000 Subject: [PATCH] without parallel builds, try -pipe to get small amount of parallelism --- pkgs/development/libraries/qt-4.x/4.8/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/qt-4.x/4.8/default.nix b/pkgs/development/libraries/qt-4.x/4.8/default.nix index 06ff3fe66d4..411b7240ed1 100644 --- a/pkgs/development/libraries/qt-4.x/4.8/default.nix +++ b/pkgs/development/libraries/qt-4.x/4.8/default.nix @@ -130,7 +130,9 @@ stdenv.mkDerivation rec { # @vcunat has been unable to find a *reliable* fix enableParallelBuilding = false; - NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin + NIX_CFLAGS_COMPILE = + "-pipe " + + optionalString stdenv.isDarwin "-I${glib}/include/glib-2.0 -I${glib}/lib/glib-2.0/include"; NIX_LDFLAGS = optionalString stdenv.isDarwin