From 7bf1f82c909899cfbe3246a70cbb842f416ab383 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Wed, 8 Jun 2022 10:11:13 -0700 Subject: [PATCH] Fix the flake URL format (#483) Good old Nix changing things. I've also noted the branch format, since they hard-coded it to master by default. --- blog/nix-flakes-1-2022-02-21.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/nix-flakes-1-2022-02-21.markdown b/blog/nix-flakes-1-2022-02-21.markdown index ae189e3..fd8da37 100644 --- a/blog/nix-flakes-1-2022-02-21.markdown +++ b/blog/nix-flakes-1-2022-02-21.markdown @@ -422,7 +422,7 @@ world. To use a private repo, your flake input URL should look something like this: ``` -git+ssh://git@github.com:user/repo +git+ssh://git@github.com/user/repo?ref=main ``` [I'm pretty sure you could use private git repos outside of flakes, however it