mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
71c31755c1
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
23 lines
652 B
Nix
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)
|
|
];
|
|
}
|