graphql-engine/nix/overlays/ormolu.nix
Samir Talwar 71c31755c1 Upgrade the Nix lockfile and fix ghcid on macOS.
I was experiencing issues trying to install ghcid on macOS + aarch64. Turns out there's a patch for that but it's not enabled for GHC 9.4. I have added it.

We may want to push this upstream.

This also upgrades Ormolu, with only a tiny change.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10062
GitOrigin-RevId: 09d0bf115155267584e91c6a21caf8afc7d744a8
2023-08-07 08:59:51 +00:00

21 lines
561 B
Nix

# Fix Ormolu v0.7.0.0.
#
# The wrong versions of certain packages are supplied. This overrides them with
# the correct versions.
self: super:
{
haskell = super.haskell // {
packages = super.haskell.packages // {
${self.ghcName} = super.haskell.packages.${self.ghcName}.override {
overrides = hself: hsuper: {
ormolu_0_7_1_0 = hsuper.ormolu_0_7_1_0.override {
Cabal-syntax = hsuper.Cabal-syntax_3_10_1_0;
ghc-lib-parser = hsuper.ghc-lib-parser_9_6_2_20230523;
};
};
};
};
};
}