diff options
author | Matthew Harm Bekkema <mbekkema97@gmail.com> | 2018-08-03 23:01:34 +1000 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-08-03 14:01:34 +0100 |
commit | a6c7132abc972b91826db1cf6f820d6b1b454ba0 (patch) | |
tree | e6cf939d171e83b6f9e8d19c7ab6ab3ad01e51b5 /nixos/doc | |
parent | 83cc1e3d38100fac3f2937bfcd9bb12616671df2 (diff) | |
download | nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar.gz nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar.bz2 nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar.lz nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar.xz nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.tar.zst nixlib-a6c7132abc972b91826db1cf6f820d6b1b454ba0.zip |
doc: change git:// links to https:// (#44395)
The server is not verified over the git:// transfer protocol. If you clone a repository over git://, you should check if the latest commit's hash is correct. On the other hand, https:// will always verify the server automatically, using certificate authorities.
Diffstat (limited to 'nixos/doc')
-rw-r--r-- | nixos/doc/manual/configuration/adding-custom-packages.xml | 2 | ||||
-rw-r--r-- | nixos/doc/manual/development/sources.xml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nixos/doc/manual/configuration/adding-custom-packages.xml b/nixos/doc/manual/configuration/adding-custom-packages.xml index b59287a622e6..028a94275345 100644 --- a/nixos/doc/manual/configuration/adding-custom-packages.xml +++ b/nixos/doc/manual/configuration/adding-custom-packages.xml @@ -14,7 +14,7 @@ xlink:href="http://nixos.org/nixpkgs/manual">Nixpkgs manual</link>. In short, you clone Nixpkgs: <screen> -$ git clone git://github.com/NixOS/nixpkgs.git +$ git clone https://github.com/NixOS/nixpkgs $ cd nixpkgs </screen> Then you write and test the package as described in the Nixpkgs manual. diff --git a/nixos/doc/manual/development/sources.xml b/nixos/doc/manual/development/sources.xml index c7b64cb84beb..eec9b56b1c07 100644 --- a/nixos/doc/manual/development/sources.xml +++ b/nixos/doc/manual/development/sources.xml @@ -11,9 +11,9 @@ modify NixOS, however, you should check out the latest sources from Git. This is as follows: <screen> -$ git clone git://github.com/NixOS/nixpkgs.git +$ git clone https://github.com/NixOS/nixpkgs $ cd nixpkgs -$ git remote add channels git://github.com/NixOS/nixpkgs-channels.git +$ git remote add channels https://github.com/NixOS/nixpkgs-channels $ git remote update channels </screen> This will check out the latest Nixpkgs sources to |