Skip to content

Commit

Permalink
haskell.packages.ghc94.{or,four}molu: Disable fixity-th flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriella439 authored and jsoo1 committed Dec 19, 2023
1 parent d14e9df commit 174763e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 174763e

Please sign in to comment.