From 5b165e73186f01a6dec11a804ab6921673806d82 Mon Sep 17 00:00:00 2001 From: talyz Date: Mon, 19 Sep 2022 12:02:19 +0200 Subject: [PATCH] fix(nixery): Set correct depot ref when fetching nix-1p Change-Id: Iffa49a4e8fd38d0762ed1f60bf72b9a050594a3c Reviewed-on: https://cl.tvl.fyi/c/depot/+/6697 Reviewed-by: tazjin Tested-by: BuildkiteCI --- tools/nixery/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/nixery/default.nix b/tools/nixery/default.nix index 74cb588a3..657f11039 100644 --- a/tools/nixery/default.nix +++ b/tools/nixery/default.nix @@ -27,7 +27,10 @@ let # If Nixery is built outside of depot, it needs to dynamically fetch # the current nix-1p. - nix-1p-git = builtins.fetchGit "https://code.tvl.fyi/depot.git:/nix/nix-1p.git"; + nix-1p-git = builtins.fetchGit { + url = "https://code.tvl.fyi/depot.git:/nix/nix-1p.git"; + ref = "canon"; + }; in depot.nix.readTree.drvTargets rec { # Implementation of the Nix image building logic