hscolour-bootstrap: GHC 6.10.x and earlier don't support the -rtsopts option

This commit is contained in:
Peter Simons 2014-06-16 16:26:12 +02:00
parent c5b7e2a2f2
commit 0f9b3ef24a

View File

@ -2668,7 +2668,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in
cabal = self.cabal.override { cabal = self.cabal.override {
extension = self : super : { extension = self : super : {
hyperlinkSource = false; hyperlinkSource = false;
configureFlags = super.configureFlags or "" + " --ghc-option=-rtsopts"; configureFlags = super.configureFlags or "" +
pkgs.lib.optionalString (pkgs.stdenv.lib.versionOlder "6.12" ghc.version) " --ghc-option=-rtsopts";
}; };
}; };
}; };