git.iko.soy/typeable/nixpkgs
on master help sign in
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.

commita3ffe238e73f5cbf97a6982a88c4879659113145 authorShea Levy <shea@shealevy.com> dateThu 16 Oct 2014, 13:17 (12 years ago) parenta3e5eca
1 file changed−3
pkgs/build-support/cabal/default.nix−3
pkgs/build-support/cabal/default.nix−3
@@ -210,9 +210,6 @@ assert !enableStaticLibraries -> versionOlder "7.7" ghc.version;
210210 ${optionalString (self.enableSharedExecutables && self.stdenv.isDarwin) ''
211211 configureFlags+=" --ghc-option=-optl=-Wl,-headerpad_max_install_names"
212212 ''}
213− ${optionalString (versionOlder "7.8" ghc.version) ''
214− configureFlags+=" --ghc-option=-j$NIX_BUILD_CORES"
215− ''}
216213
217214 echo "configure flags: $extraConfigureFlags $configureFlags"
218215 ./Setup configure --verbose --prefix="$out" --libdir='$prefix/lib/$compiler' \