haskell-packages.nix: enable dynamic linking in GHC 7.7 or later

The current snapshot requires shared libraries to be built (otherwise
some packages won't build). I'm sure that's a mistake in the way it's
configured that should be fixed. Anyway, enabling shared library support
is an easy way out (and an interesting experiment).
This commit is contained in:
Peter Simons 2013-12-03 22:03:51 +01:00
parent f1633d5af9
commit cf2fbb3502

View file

@ -60,8 +60,8 @@
{ pkgs, newScope, ghc, prefFun, modifyPrio ? (x : x)
, enableLibraryProfiling ? false
, enableSharedLibraries ? false
, enableSharedExecutables ? false
, enableSharedLibraries ? pkgs.stdenv.lib.versionOlder "7.7" ghc.version
, enableSharedExecutables ? pkgs.stdenv.lib.versionOlder "7.7" ghc.version
, enableCheckPhase ? pkgs.stdenv.lib.versionOlder "7.4" ghc.version
}: