graphql-engine/nix/overlays/dc-api.nix
Solomon f7d40519ce [Nix] Adds dc-api overlay.
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6889
GitOrigin-RevId: 3ede55fc3a921f4712f1736f338fb46a3e1a1ce7
2023-01-30 08:34:53 +00:00

16 lines
607 B
Nix

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;
});
});
};
};
}