stockholm/krebs/5pkgs/default.nix
2023-06-21 14:47:04 +02:00

27 lines
536 B
Nix

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;
})
]
))