Skip to content

Commit

Permalink
fix(nixery): Set correct depot ref when fetching nix-1p
Browse files Browse the repository at this point in the history
Change-Id: Iffa49a4e8fd38d0762ed1f60bf72b9a050594a3c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6697
Reviewed-by: tazjin <[email protected]>
Tested-by: BuildkiteCI
  • Loading branch information
talyz committed Sep 19, 2022
1 parent 05fca8c commit 81a1d6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81a1d6a

Please sign in to comment.