stylish-cabal: fix the build

We can still compile the package with ghc-8.6.5. Later
compiler versions don't work, unfortunately.
This commit is contained in:
Peter Simons
2020-02-29 11:10:19 +01:00
parent a6130f1848
commit 376ff258b5
4 changed files with 31 additions and 2 deletions
@@ -87,4 +87,8 @@ self: super: {
# Builds only with ghc-8.8.x and beyond.
policeman = markBroken super.policeman;
# https://github.com/pikajude/stylish-cabal/issues/12
stylish-cabal = doDistribute (markUnbroken (super.stylish-cabal.override { haddock-library = self.haddock-library_1_7_0; }));
haddock-library_1_7_0 = dontCheck super.haddock-library_1_7_0;
}