summary refs log tree commit diff
path: root/pkgs/build-support/cabal
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-10-16 13:17:30 -0400
committerShea Levy <shea@shealevy.com>2014-10-16 13:17:30 -0400
commita3ffe238e73f5cbf97a6982a88c4879659113145 (patch)
treef9a57245ad9f088e258b688ae083fffd75e30b3a /pkgs/build-support/cabal
parenta3e5eca153c2566fb6203ee6e1e811772835105b (diff)
downloadnixpkgs-a3ffe238e73f5cbf97a6982a88c4879659113145.tar
nixpkgs-a3ffe238e73f5cbf97a6982a88c4879659113145.tar.gz
nixpkgs-a3ffe238e73f5cbf97a6982a88c4879659113145.tar.bz2
nixpkgs-a3ffe238e73f5cbf97a6982a88c4879659113145.tar.lz
nixpkgs-a3ffe238e73f5cbf97a6982a88c4879659113145.tar.xz
nixpkgs-a3ffe238e73f5cbf97a6982a88c4879659113145.tar.zst
nixpkgs-a3ffe238e73f5cbf97a6982a88c4879659113145.zip
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.
Diffstat (limited to 'pkgs/build-support/cabal')
-rw-r--r--pkgs/build-support/cabal/default.nix3
1 files changed, 0 insertions, 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' \