hscolour-bootstrap: GHC 6.10.x and earlier don't support the -rtsopts option
This commit is contained in:
parent
c5b7e2a2f2
commit
0f9b3ef24a
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user