Commit Graph

10 Commits

Author SHA1 Message Date
Samir Talwar
156d71423f Upgrade nixpkgs.
There are two major changes:

1. [`msodbcsql18` is now in nixpkgs.](https://github.com/NixOS/nixpkgs/pull/197607)
2. [The Cabal patch for cycles on aarch64+darwin is now in nixpkgs.](https://github.com/NixOS/nixpkgs/pull/247723)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10355
GitOrigin-RevId: a6ff3cd69eb51d0fa98577038658785db0e84672
2023-10-03 19:50:47 +00:00
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
Brandon Simmons
440a8664de server: Upgrade the HGE server to GHC 9.4.5
Upgrade to GHC 9.4.5, and update any tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8954
Co-authored-by: Mohd Bilal <24944223+m-Bilal@users.noreply.github.com>
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: 5261126777cb478567ea471c4bf5441bc345ea0d
2023-06-06 13:29:30 +00:00
Samir Talwar
f2fe9f9579 Nix: Upgrade Ormolu to v0.7.0.0.
This requires serious monkey-patching.

We start with v0.6.0.1, upgrade its `src`, and override dependencies to make the version constraints happy.

We build it with GHC 9.4 because it bundles text v2, which is required for Ormolu v0.5.3 and up. This means we can't just override the Hackage package; instead, we override the root-level package and use that directly.

Because of this, HLS will use the wrong Ormolu version. We can resolve this once we upgrade to GHC 9.4 *and* a version of hls-ormolu-plugin is released which supports this version of Ormolu (at the time of writing, only v0.5.x and older are supported).

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9289
GitOrigin-RevId: 438fe045bc74834d99b80b8822bfb609ac11ada1
2023-05-24 23:02:03 +00:00
Solomon
f7d40519ce [Nix] Adds dc-api overlay.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6889
GitOrigin-RevId: 3ede55fc3a921f4712f1736f338fb46a3e1a1ce7
2023-01-30 08:34:53 +00:00
Solomon
aff9f89ced [Nix] Add pg-client-hs overlay.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7675
GitOrigin-RevId: 72d284fcc75f3cbf415ee22773172ea9382a3db9
2023-01-27 04:21:16 +00:00
Solomon
c6b28b56d1 [Nix] Adds aeson-ordered overlay.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7674
GitOrigin-RevId: c59b67313219a54d1f9e53db2167d93bc59c859e
2023-01-26 21:55:23 +00:00
Solomon
8607769e51 [Nix] Adds resource-pool overlay.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7673
GitOrigin-RevId: f4f28c9d3e7f8f79a52fc3a4237ab989fa1096ed
2023-01-26 14:41:41 +00:00
Solomon
94b4db90f2 [nix] Moves graphql-parser into an overlay and updates hedgehog dependency
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6886
GitOrigin-RevId: f576763ab83ed2ebdd05f4da8a4cb184d472e6ba
2022-11-15 21:55:12 +00:00
Gil Mizrahi
15b3ac0aee ghc 9.2.5
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6777
Co-authored-by: Samir Talwar <47582+SamirTalwar@users.noreply.github.com>
GitOrigin-RevId: 916abab76446cf7c4e1e63dc112ba4994ab4d23d
2022-11-15 11:26:42 +00:00