mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
Revert "doc: don't use sha256 and non-sri hashes in user docs"
This reverts commit 309d5c169b.
The instructions don't work on NixOS 25.11: Nix 2.31 doesn't suport SRI
hashes in builtins.fetchTarball. Moreover the NixOS manual shouldn't
recomment using experimental commands.
This commit is contained in:
parent
dd5da3c1ae
commit
e0a630cb36
1 changed files with 3 additions and 3 deletions
|
|
@ -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 --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" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue