diff options
author | Colin Arnott <colin@urandom.co.uk> | 2022-12-03 19:49:00 +0000 |
---|---|---|
committer | Colin Arnott <colin@urandom.co.uk> | 2022-12-04 06:12:18 +0000 |
commit | bac379f30a6fa1284e48b4224862e0b41ad42199 (patch) | |
tree | 0bad9b7cbe730a740ec027e19d34e1c237f058db /doc/languages-frameworks/crystal.section.md | |
parent | 88ae5d08250e206aad599c1bb9692bd9b3dd54c2 (diff) | |
download | nixpkgs-bac379f30a6fa1284e48b4224862e0b41ad42199.tar nixpkgs-bac379f30a6fa1284e48b4224862e0b41ad42199.tar.gz nixpkgs-bac379f30a6fa1284e48b4224862e0b41ad42199.tar.bz2 nixpkgs-bac379f30a6fa1284e48b4224862e0b41ad42199.tar.lz nixpkgs-bac379f30a6fa1284e48b4224862e0b41ad42199.tar.xz nixpkgs-bac379f30a6fa1284e48b4224862e0b41ad42199.tar.zst nixpkgs-bac379f30a6fa1284e48b4224862e0b41ad42199.zip |
doc: use sri hash syntax
The nixpkgs manual contains references to both sri hash and explicit sha256 attributes. This is at best confusing to new users. Since the final destination is exclusive use of sri hashes, see nixos/rfcs#131, might as well push new users in that direction gently. Notable exceptions to sri hash support are builtins.fetchTarball, cataclysm-dda, coq, dockerTools.pullimage, elixir.override, and fetchCrate. None, other than builtins.fetchTarball, are fundamentally incompatible, but all currently accept explicit sha256 attributes as input. Because adding backwards compatibility is out of scope for this change, they have been left intact, but migration to sri format has been made for any using old hash formats. All hashes have been manually tested to be accurate, and updates were only made for missing upstream artefacts or bugs.
Diffstat (limited to 'doc/languages-frameworks/crystal.section.md')
-rw-r--r-- | doc/languages-frameworks/crystal.section.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/languages-frameworks/crystal.section.md b/doc/languages-frameworks/crystal.section.md index cbabba24f0c..b97e75a58da 100644 --- a/doc/languages-frameworks/crystal.section.md +++ b/doc/languages-frameworks/crystal.section.md @@ -27,7 +27,7 @@ crystal.buildCrystalPackage rec { owner = "mint-lang"; repo = "mint"; rev = version; - sha256 = "0vxbx38c390rd2ysvbwgh89v2232sh5rbsp3nk9wzb70jybpslvl"; + hash = "sha256-dFN9l5fgrM/TtOPqlQvUYgixE4KPr629aBmkwdDoq28="; }; # Insert the path to your shards.nix file here @@ -62,7 +62,7 @@ crystal.buildCrystalPackage rec { owner = "mint-lang"; repo = "mint"; rev = version; - sha256 = "0vxbx38c390rd2ysvbwgh89v2232sh5rbsp3nk9wzb70jybpslvl"; + hash = "sha256-dFN9l5fgrM/TtOPqlQvUYgixE4KPr629aBmkwdDoq28="; }; shardsFile = ./shards.nix; |