graphql-engine/nix/nixpkgs.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

23 lines
652 B
Nix

{ system ? builtins.currentSystem
, nixpkgs ? (builtins.getFlake (builtins.toString ../.)).inputs.nixpkgs
}:
import nixpkgs {
inherit system;
config = {
allowUnfree = true;
permittedInsecurePackages = [
"nodejs-16.20.1" # until we upgrade our node.js version in .nvmrc
];
};
overlays = [
(import ./overlays/ghc.nix { inherit nixpkgs; })
(import ./overlays/ormolu.nix)
(import ./overlays/msodbcsql18.nix)
(import ./overlays/graphql-parser.nix)
(import ./overlays/resource-pool.nix)
(import ./overlays/dc-api.nix)
(import ./overlays/pg-client-hs.nix)
(import ./overlays/aeson-ordered.nix)
];
}