2021-10-12 17:36:09 +00:00
|
|
|
self: super:
|
|
|
|
with self.stockholm.lib;
|
|
|
|
|
2017-08-06 19:33:10 +00:00
|
|
|
let
|
2018-11-30 08:40:53 +00:00
|
|
|
overrides = self: super: mapNixDir (path: self.callPackage path {}) ./.;
|
2017-08-06 19:33:10 +00:00
|
|
|
in
|
2017-05-23 23:57:28 +00:00
|
|
|
{
|
2017-08-10 12:02:12 +00:00
|
|
|
haskell = super.haskell // {
|
|
|
|
packages = mapAttrs (name: value:
|
|
|
|
if hasAttr "override" value
|
2022-09-13 19:22:15 +00:00
|
|
|
then value.override (old: {
|
|
|
|
overrides = composeExtensions (old.overrides or (_: _: {})) overrides;
|
|
|
|
})
|
2017-08-10 12:02:12 +00:00
|
|
|
else value
|
|
|
|
) super.haskell.packages;
|
|
|
|
};
|
2022-09-13 19:22:15 +00:00
|
|
|
haskellPackages = super.haskellPackages.override (old: {
|
|
|
|
overrides = composeExtensions (old.overrides or (_: _: {})) overrides;
|
|
|
|
});
|
2017-05-23 23:57:28 +00:00
|
|
|
}
|