diff options
| author | Martin Schwaighofer <mschwaig@users.noreply.github.com> | 2022-03-26 19:30:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-26 14:30:54 -0400 |
| commit | 66574582f2e8058ce364fcf5080d42064c483ed3 (patch) | |
| tree | 77e3c4dedab385a6b8cca86601500699c909cf51 /blog | |
| parent | cb65b7b037fc994afd9b923620bfa5f2ebbf746b (diff) | |
| download | xesite-66574582f2e8058ce364fcf5080d42064c483ed3.tar.xz xesite-66574582f2e8058ce364fcf5080d42064c483ed3.zip | |
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
Diffstat (limited to 'blog')
| -rw-r--r-- | blog/nix-flakes-1-2022-02-21.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
