diff options
author | Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr> | 2018-10-30 01:24:07 +0100 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-10-30 01:24:07 +0100 |
commit | 2f9fc897eb305abee1206061a20f65c12243b0b4 (patch) | |
tree | 14d69f6bef2fea1362fa6b2b329d9ba516cf04da /doc/coding-conventions.xml | |
parent | b8040919b01b5d70b029fe4824a65a7928a6d100 (diff) | |
download | nixpkgs-2f9fc897eb305abee1206061a20f65c12243b0b4.tar nixpkgs-2f9fc897eb305abee1206061a20f65c12243b0b4.tar.gz nixpkgs-2f9fc897eb305abee1206061a20f65c12243b0b4.tar.bz2 nixpkgs-2f9fc897eb305abee1206061a20f65c12243b0b4.tar.lz nixpkgs-2f9fc897eb305abee1206061a20f65c12243b0b4.tar.xz nixpkgs-2f9fc897eb305abee1206061a20f65c12243b0b4.tar.zst nixpkgs-2f9fc897eb305abee1206061a20f65c12243b0b4.zip |
Add mention of nix-prefetch-github. (#49336)
Diffstat (limited to 'doc/coding-conventions.xml')
-rw-r--r-- | doc/coding-conventions.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/coding-conventions.xml b/doc/coding-conventions.xml index b3f7f093835..3e8a0ea4a70 100644 --- a/doc/coding-conventions.xml +++ b/doc/coding-conventions.xml @@ -842,9 +842,12 @@ src = fetchFromGitHub { owner = "NixOS"; repo = "nix"; rev = "1f795f9f44607cc5bec70d1300150bfefcef2aae"; - sha256 = "04yri911rj9j19qqqn6m82266fl05pz98inasni0vxr1cf1gdgv9"; + sha256 = "1i2yxndxb6yc9l6c99pypbd92lfq5aac4klq7y2v93c9qvx2cgpc"; } </programlisting> + Find the value to put as <literal>sha256</literal> by running + <literal>nix run -f '<nixpkgs>' nix-prefetch-github -c nix-prefetch-github --rev 1f795f9f44607cc5bec70d1300150bfefcef2aae NixOS nix</literal> + or <literal>nix-prefetch-url --unpack https://github.com/NixOS/nix/archive/1f795f9f44607cc5bec70d1300150bfefcef2aae.tar.gz</literal>. </para> </listitem> </itemizedlist> |