be5f4833fe
New overlay code in inspired by <nixpkgs/pkgs/top-level/stage.nix>.
24 lines
463 B
Nix
24 lines
463 B
Nix
let
|
|
stockholm.lib = import ../../lib;
|
|
in
|
|
with stockholm.lib;
|
|
self: super:
|
|
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;
|
|
})
|
|
]
|
|
))
|