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

22 lines
612 B
Nix

{ system ? builtins.currentSystem
, nixpkgs ? (builtins.getFlake (builtins.toString ../.)).inputs.nixpkgs
}:
import nixpkgs {
inherit system;
config = {
allowUnfree = true;
permittedInsecurePackages = [
"nodejs-16.20.2" # until we upgrade our node.js version in .nvmrc
];
};
overlays = [
(import ./overlays/ghc.nix { inherit nixpkgs; })
(import ./overlays/ormolu.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)
];
}