From a3ffe238e73f5cbf97a6982a88c4879659113145 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 16 Oct 2014 13:17:30 -0400 Subject: [PATCH] Revert "cabal: enable multi-threaded builds with GHC 7.8.x or later" This likely exacerbates the non-determinism in ghc package ids, so until that is fixed let's live with the slow builds. This reverts commit 817c0e41443a5176baf6dd9b422878fdccecd266. --- pkgs/build-support/cabal/default.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkgs/build-support/cabal/default.nix b/pkgs/build-support/cabal/default.nix index d73b4a1f364..a55de86cb15 100644 --- a/pkgs/build-support/cabal/default.nix +++ b/pkgs/build-support/cabal/default.nix @@ -210,9 +210,6 @@ assert !enableStaticLibraries -> versionOlder "7.7" ghc.version; ${optionalString (self.enableSharedExecutables && self.stdenv.isDarwin) '' configureFlags+=" --ghc-option=-optl=-Wl,-headerpad_max_install_names" ''} - ${optionalString (versionOlder "7.8" ghc.version) '' - configureFlags+=" --ghc-option=-j$NIX_BUILD_CORES" - ''} echo "configure flags: $extraConfigureFlags $configureFlags" ./Setup configure --verbose --prefix="$out" --libdir='$prefix/lib/$compiler' \