about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-10-30 20:35:15 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-10-30 20:35:15 +0100
commit1d196d99be8f9122e201f3bff0b87b8f1c4d4248 (patch)
tree5a701a9fa63398165678228684a5a28b5a6886f4 /doc
parent50744a279ca9e7985f30ece576c0670b45d197bd (diff)
parent0e0d20fb5facbaafe04d7b96cff7bab174375e5c (diff)
Merge staging-next into staging
Diffstat (limited to 'doc')
-rw-r--r--doc/coding-conventions.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/coding-conventions.xml b/doc/coding-conventions.xml
index b3f7f093835cd..3e8a0ea4a703d 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 '&lt;nixpkgs&gt;' 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>