doc: don't use sha256 and non-sri hashes in user docs

People will just copy and paste it, while we should encourage SRI hashes
This commit is contained in:
Ross Smyth 2026-05-21 12:40:18 -04:00
commit 309d5c169b

View file

@ -23,11 +23,11 @@
# Pinned Nixpkgs archive
#
# Use `curl -I https://channels.nixos.org/nixos-26.05` to get the
# latest commit of the stable channel and `nix-prefetch-url --unpack`
# to compute its sha256 hash.
# latest commit of the stable channel and `nix --extra-experimental-features nix-command store prefetch-file --unpack`
# to compute its hash.
nixpkgs = builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/c217913993d6.tar.gz";
sha256 = "026mprs324330pfazlgbw987qmsa8ligglarvqbcxzig2kgw0lqg";
hash = "sha256-D1PA3xQv/s4W3lnR9yJFSld8UOLr0a/cBWMQMXS+1Qg=";
};
in
import "${nixpkgs}/nixos" {