[Nix] Add pg-client-hs overlay.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7675
GitOrigin-RevId: 72d284fcc75f3cbf415ee22773172ea9382a3db9
This commit is contained in:
Solomon 2023-01-26 20:19:50 -08:00 committed by hasura-bot
parent f5ea2e6b5a
commit aff9f89ced
2 changed files with 14 additions and 0 deletions

View File

@ -11,6 +11,7 @@ import nixpkgs {
(import ./overlays/msodbcsql18.nix)
(import ./overlays/graphql-parser.nix)
(import ./overlays/resource-pool.nix)
(import ./overlays/pg-client-hs.nix)
(import ./overlays/aeson-ordered.nix)
];
}

View File

@ -0,0 +1,13 @@
final: prev: {
haskell = prev.haskell // {
packages = prev.haskell.packages // {
ghc925 = prev.haskell.packages."${prev.ghcName}".override (old: {
overrides = prev.lib.composeExtensions
(old.overrides or (_: _: { }))
(hfinal: hprev: {
pg-client = prev.haskell.lib.dontCheck (final.haskell.packages."${prev.ghcName}".callCabal2nix "pg-client" ../../server/lib/pg-client-hs { });
});
});
};
};
}