[Backport release-26.05] Revert "doc: don't use sha256 and non-sri hashes in user docs" (#534205)

This commit is contained in:
Michele Guerini Rocco 2026-06-22 11:48:48 +00:00 committed by GitHub
commit 7abeab9194
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,11 +24,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 --extra-experimental-features nix-command store prefetch-file --unpack`
# to compute its hash.
# latest commit of the stable channel and `nix-prefetch-url --unpack`
# to compute its sha256 hash.
nixpkgs = builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/c217913993d6.tar.gz";
hash = "sha256-D1PA3xQv/s4W3lnR9yJFSld8UOLr0a/cBWMQMXS+1Qg=";
sha256 = "026mprs324330pfazlgbw987qmsa8ligglarvqbcxzig2kgw0lqg";
};
in
import "${nixpkgs}/nixos" {