cabal: fix GHC 6.10.4 builds
3e8344d334
added some magic -optP-P flag that the old compiler
version doesn't support.
This commit is contained in:
parent
f7072920ee
commit
ffb635eb65
@ -247,7 +247,7 @@ assert !enableStaticLibraries -> versionOlder "7.7" ghc.version;
|
||||
|
||||
export GHC_PACKAGE_PATH=$(${ghc.GHCPackages})
|
||||
test -n "$noHaddock" || ./Setup haddock --html --hoogle \
|
||||
--ghc-options=-optP-P \
|
||||
${optionalString (stdenv.lib.versionOlder "6.12" ghc.version) "--ghc-options=-optP-P"} \
|
||||
${optionalString self.hyperlinkSource "--hyperlink-source"}
|
||||
|
||||
eval "$postBuild"
|
||||
|
Loading…
Reference in New Issue
Block a user