mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-09-11 10:46:25 +03:00
[Nix] Adds dc-api overlay.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6889 GitOrigin-RevId: 3ede55fc3a921f4712f1736f338fb46a3e1a1ce7
This commit is contained in:
parent
5c421aca95
commit
f7d40519ce
@ -11,6 +11,7 @@ import nixpkgs {
|
||||
(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)
|
||||
];
|
||||
|
15
nix/overlays/dc-api.nix
Normal file
15
nix/overlays/dc-api.nix
Normal file
@ -0,0 +1,15 @@
|
||||
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: {
|
||||
# Tests don't compile as extra-source-files are missing
|
||||
dc-api = prev.haskell.lib.dontCheck (final.haskell.packages."${prev.ghcName}".callCabal2nix "dc-api" ../../server/lib/dc-api { });
|
||||
lens-aeson = prev.haskell.packages."${prev.ghcName}".lens-aeson_1_2_2;
|
||||
});
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user