2023-01-30 11:33:23 +03:00
|
|
|
final: prev: {
|
|
|
|
haskell = prev.haskell // {
|
|
|
|
packages = prev.haskell.packages // {
|
2023-06-06 16:27:46 +03:00
|
|
|
${prev.ghcName} = prev.haskell.packages.${prev.ghcName}.override (old: {
|
2023-01-30 11:33:23 +03:00
|
|
|
overrides = prev.lib.composeExtensions
|
|
|
|
(old.overrides or (_: _: { }))
|
|
|
|
(hfinal: hprev: {
|
|
|
|
# Tests don't compile as extra-source-files are missing
|
2023-06-06 16:27:46 +03:00
|
|
|
dc-api = prev.haskell.lib.dontCheck (final.haskell.packages.${prev.ghcName}.callCabal2nix "dc-api" ../../server/lib/dc-api { });
|
2023-01-30 11:33:23 +03:00
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|