summary refs log tree commit diff
path: root/doc/contributing/coding-conventions.chapter.md
diff options
context:
space:
mode:
authorMatthias Bartelmeß <mba@fourplusone.de>2022-08-04 00:31:31 +0200
committerGitHub <noreply@github.com>2022-08-04 00:31:31 +0200
commit0ff5e21ea2f5c1f50fcf150309ac533ba8ef3300 (patch)
tree00bba1f408cd6b7aba1e0480015fb6ed0371ff8d /doc/contributing/coding-conventions.chapter.md
parent2210891a585828873d1abfdfd1198cdd57d0de34 (diff)
downloadnixpkgs-0ff5e21ea2f5c1f50fcf150309ac533ba8ef3300.tar
nixpkgs-0ff5e21ea2f5c1f50fcf150309ac533ba8ef3300.tar.gz
nixpkgs-0ff5e21ea2f5c1f50fcf150309ac533ba8ef3300.tar.bz2
nixpkgs-0ff5e21ea2f5c1f50fcf150309ac533ba8ef3300.tar.lz
nixpkgs-0ff5e21ea2f5c1f50fcf150309ac533ba8ef3300.tar.xz
nixpkgs-0ff5e21ea2f5c1f50fcf150309ac533ba8ef3300.tar.zst
nixpkgs-0ff5e21ea2f5c1f50fcf150309ac533ba8ef3300.zip
Correct instructions to obtain a hash for git repos
Diffstat (limited to 'doc/contributing/coding-conventions.chapter.md')
-rw-r--r--doc/contributing/coding-conventions.chapter.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/contributing/coding-conventions.chapter.md b/doc/contributing/coding-conventions.chapter.md
index bc49fdc4723..6473fa151a4 100644
--- a/doc/contributing/coding-conventions.chapter.md
+++ b/doc/contributing/coding-conventions.chapter.md
@@ -453,7 +453,7 @@ In the file `pkgs/top-level/all-packages.nix` you can find fetch helpers, these
   }
   ```
 
-  Find the value to put as `sha256` by running `nix run -f '<nixpkgs>' nix-prefetch-github -c nix-prefetch-github --rev 1f795f9f44607cc5bec70d1300150bfefcef2aae NixOS nix` or `nix-prefetch-url --unpack https://github.com/NixOS/nix/archive/1f795f9f44607cc5bec70d1300150bfefcef2aae.tar.gz`.
+Find the value to put as `sha256` by running `nix-shell -p nix-prefetch-github --run "nix-prefetch-github --rev 1f795f9f44607cc5bec70d1300150bfefcef2aae NixOS nix"`. 
 
 ## Obtaining source hash {#sec-source-hashes}