19 lines
343 B
Nix
19 lines
343 B
Nix
|
{ ... }:
|
||
|
|
||
|
let
|
||
|
fix = f: let x = f x; in x;
|
||
|
config = depot: {
|
||
|
inherit depot;
|
||
|
pkgs = depot.third_party.nixpkgs;
|
||
|
};
|
||
|
in fix (self:
|
||
|
let ch = (self.config // { inherit (self) lib; });
|
||
|
in {
|
||
|
config = config self;
|
||
|
|
||
|
third_party = import ./third_party ch;
|
||
|
ops = import ./ops ch;
|
||
|
|
||
|
lib = self.third_party.nixpkgs.lib;
|
||
|
})
|