diff options
-rw-r--r-- | default.nix | 6 | ||||
-rw-r--r-- | ops/pipelines/static-pipeline.yaml | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/default.nix b/default.nix index fd02dfbde927..1cf62e94afb0 100644 --- a/default.nix +++ b/default.nix @@ -108,8 +108,8 @@ in readTree.fix(self: (readDepot { }); # Derivation that gcroots all depot targets. - ci.gcroot = self.third_party.nixpkgs.symlinkJoin { + ci.gcroot = with self.third_party.nixpkgs; makeSetupHook { name = "depot-gcroot"; - paths = self.ci.targets; - }; + deps = self.ci.targets; + } emptyFile; }) diff --git a/ops/pipelines/static-pipeline.yaml b/ops/pipelines/static-pipeline.yaml index 872a6c5d27a7..dbac741adb1e 100644 --- a/ops/pipelines/static-pipeline.yaml +++ b/ops/pipelines/static-pipeline.yaml @@ -66,7 +66,7 @@ steps: - label: ":anchor:" if: "build.branch == 'refs/heads/canon'" command: | - nix-instantiate -A ci.gcroot --add-root /nix/var/nix/gcroots/depot/canon + nix-build -A ci.gcroot --out-link /nix/var/nix/gcroots/depot/canon depends_on: - step: ":duck:" allow_failure: false |