mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-11-05 02:10:53 +03:00
[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:
parent
f5ea2e6b5a
commit
aff9f89ced
@ -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)
|
||||
];
|
||||
}
|
||||
|
13
nix/overlays/pg-client-hs.nix
Normal file
13
nix/overlays/pg-client-hs.nix
Normal 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 { });
|
||||
});
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user