From 309d5c169b871f8b0584ab93132d02067a682b42 Mon Sep 17 00:00:00 2001 From: Ross Smyth <18294397+RossSmyth@users.noreply.github.com> Date: Thu, 21 May 2026 12:40:18 -0400 Subject: [PATCH] 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 --- nixos/doc/manual/release-notes/rl-2605.section.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/doc/manual/release-notes/rl-2605.section.md b/nixos/doc/manual/release-notes/rl-2605.section.md index 3569cdb0abdb..be555522c69a 100644 --- a/nixos/doc/manual/release-notes/rl-2605.section.md +++ b/nixos/doc/manual/release-notes/rl-2605.section.md @@ -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" {