haskell.packages.ghc94.{or,four}molu: Disable fixity-th flag

See: https://github.com/tweag/ormolu/issues/941
This commit is contained in:
Gabriella Gonzalez 2022-11-17 16:44:16 -06:00
parent e2c91016fe
commit 524ddeb34f

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);
}