Add support for manually en/disabled flags
The immediate use for these is so that, in haddock, we can require ghc-paths normally, but in the GHC build we can manually turn off a flag so that this dependency isn't needed. We can't use a normal flag, or in the normal build Cabal would infer that the flag needs to be turned off if ghc-paths isn't available.
Showing
- Distribution/PackageDescription.hs 4 additions, 2 deletionsDistribution/PackageDescription.hs
- Distribution/PackageDescription/Configuration.hs 6 additions, 2 deletionsDistribution/PackageDescription/Configuration.hs
- Distribution/PackageDescription/Parse.hs 3 additions, 1 deletionDistribution/PackageDescription/Parse.hs
Loading
Please register or sign in to comment