2020-06-07 14:03:12 +00:00
|
|
|
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-04-30 04:49:19 +00:00
|
|
|
{ ... }:
|
|
|
|
|
|
|
|
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;
|
2020-05-06 09:01:46 +00:00
|
|
|
nix = import ./nix ch;
|
2020-05-31 22:28:01 +00:00
|
|
|
web = import ./web ch;
|
2020-10-04 00:07:59 +00:00
|
|
|
go = import ./go ch;
|
2020-04-30 04:49:19 +00:00
|
|
|
|
2021-01-11 17:17:16 +00:00
|
|
|
version = import ./version.nix ch;
|
|
|
|
|
2020-04-30 04:49:19 +00:00
|
|
|
lib = self.third_party.nixpkgs.lib;
|
2020-05-16 22:55:59 +00:00
|
|
|
|
|
|
|
pkgs = self.third_party.nixpkgs // self.nix.pkgs;
|
2020-04-30 04:49:19 +00:00
|
|
|
})
|