blob: 866796a4ebe25399667482df69f7e88753853557 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
self: super: let
stockholm = {
lib = import ../../lib/pure.nix { lib = super.lib; };
outPath = toString ../.;
};
in
with stockholm.lib;
fix (foldl' (flip extends) (self: super) (
[
(self: super: { inherit stockholm; })
]
++
(map
(name: import (./. + "/${name}"))
(filter
(name: name != "default.nix" && !hasPrefix "." name)
(attrNames (readDir ./.))))
++
[
(self: super: {
brockman = self.haskellPackages.brockman;
reaktor2 = self.haskellPackages.reaktor2;
})
]
))
|