Merge pull request #201692 from MercuryTechnologies/gabriella/fix_ormolu_ghc9.4

haskell.packages.ghc94.{or,four}molu: Disable `fixity-th` flag
This commit is contained in:
maralorn 2022-11-18 12:56:56 +01:00 committed by GitHub
commit 88fef9d935
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -220,4 +220,12 @@ in {
hls-retrie-plugin = null;
hls-splice-plugin = null;
};
# https://github.com/tweag/ormolu/issues/941
ormolu = overrideCabal (drv: {
libraryHaskellDepends = drv.libraryHaskellDepends ++ [ self.file-embed ];
}) (disableCabalFlag "fixity-th" super.ormolu);
fourmolu = overrideCabal (drv: {
libraryHaskellDepends = drv.libraryHaskellDepends ++ [ self.file-embed ];
}) (disableCabalFlag "fixity-th" super.fourmolu);
}