2021-04-10 18:05:16 +02:00
|
|
|
# Defines an overlay for overriding Haskell packages, for example to
|
|
|
|
# avoid breakage currently present in nixpkgs or to modify package
|
|
|
|
# versions.
|
2021-04-10 14:12:25 +02:00
|
|
|
|
2021-11-14 18:33:07 +01:00
|
|
|
{ lib, ... }:
|
2020-06-29 03:27:02 +02:00
|
|
|
|
2021-04-10 18:05:16 +02:00
|
|
|
self: super: # overlay parameters for the nixpkgs overlay
|
2019-12-30 17:31:56 +01:00
|
|
|
|
2021-04-10 18:05:16 +02:00
|
|
|
let
|
2021-11-14 18:33:07 +01:00
|
|
|
overrides = hsSelf: hsSuper: with super.haskell.lib; {
|
2021-04-10 18:05:16 +02:00
|
|
|
generic-arbitrary = appendPatch hsSuper.generic-arbitrary
|
|
|
|
[ ./patches/generic-arbitrary-export-garbitrary.patch ];
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
haskellPackages = super.haskellPackages.override {
|
|
|
|
inherit overrides;
|
|
|
|
};
|
2019-11-30 04:57:58 +01:00
|
|
|
}
|