mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
777 B
777 B
synopsis: Rename hash format base32
to nix32
prs: #9452
description: {
Hash format base32
was renamed to nix32
since it used a special nix-specific character set for
Base32.
Deprecation: Use nix32
instead of base32
as toHashFormat
For the builtin convertHash
, the toHashFormat
parameter now accepts the same hash formats as the --to
/--from
parameters of the nix hash conert
command: "base16"
, "nix32"
, "base64"
, and "sri"
. The former "base32"
value
remains as a deprecated alias for "base32"
. Please convert your code from:
builtins.convertHash { inherit hash hashAlgo; toHashFormat = "base32";}
to
builtins.convertHash { inherit hash hashAlgo; toHashFormat = "nix32";}