blob: 98cbcb3b9413f15af6e9cc5f54c8483947a59e7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
self: super:
with self.stockholm.lib;
let
overrides = self: super: mapNixDir (path: self.callPackage path {}) ./.;
in
{
haskell = super.haskell // {
packages = mapAttrs (name: value:
if hasAttr "override" value
then value.override { inherit overrides; }
else value
) super.haskell.packages;
};
haskellPackages = super.haskellPackages.override {
inherit overrides;
};
}
|