From 66574582f2e8058ce364fcf5080d42064c483ed3 Mon Sep 17 00:00:00 2001 From: Martin Schwaighofer Date: Sat, 26 Mar 2022 19:30:54 +0100 Subject: [PATCH] nix flakes can access private repos with git+ssh (#444) Sadly using ssh+git does not work. I tested this locally. See also: https://discourse.nixos.org/t/url-format-for-flake-over-git-ssh/7538/2 --- 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 9bcc0dd..ae87f3d 100644 --- a/blog/nix-flakes-1-2022-02-21.markdown +++ b/blog/nix-flakes-1-2022-02-21.markdown @@ -418,7 +418,7 @@ world. To use a private repo, your flake input URL should look something like this: ``` -ssh+git://git@github.com:user/repo +git+ssh://git@github.com:user/repo ``` [I'm pretty sure you could use private git repos outside of flakes, however it