diff --git a/views/kit/buildkite.yml b/views/kit/buildkite.yml index 406e81aad..0bba63726 100644 --- a/views/kit/buildkite.yml +++ b/views/kit/buildkite.yml @@ -6,5 +6,11 @@ steps: - command: "nix-build --no-out-link -A besadii" label: ":nix: besadii" + - command: "nix-build --no-out-link -A magrathea" label: ":nix: magrathea" + + - label: ":nix: lazy-deps" + command: | + nix-build -E 'with import ./. {}; lazy-deps { mg.attr = "magrathea"; }' + result/bin/mg diff --git a/views/kit/default.nix b/views/kit/default.nix index 056683380..47c6088a4 100644 --- a/views/kit/default.nix +++ b/views/kit/default.nix @@ -14,17 +14,18 @@ }: pkgs.lib.fix (self: { + besadii = import ./besadii { + depot.nix.buildGo = self.buildGo; + }; + buildGo = import ./buildGo { inherit pkgs; }; - readTree = import ./readTree { }; buildkite = import ./buildkite { inherit pkgs; depot.nix.readTree = self.readTree; }; - besadii = import ./besadii { - depot.nix.buildGo = self.buildGo; - }; - + lazy-deps = import ./lazy-deps { inherit pkgs; }; magrathea = import ./magrathea { inherit pkgs; }; + readTree = import ./readTree { }; }) diff --git a/views/kit/workspace.josh b/views/kit/workspace.josh index d2d7ec49a..bdf550339 100644 --- a/views/kit/workspace.josh +++ b/views/kit/workspace.josh @@ -3,6 +3,7 @@ besadii = :/ops/besadii :/nix:[ ::buildGo/ ::buildkite/ + ::lazy-deps/ ::readTree/ ] :/third_party:[