mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
3811b334c6
The old syntax is still supported, as long as you don't use a { in the description - the reason to migrate.
769 B
769 B
synopsis | prs |
---|---|
Rename hash format `base32` to `nix32` | 9452 |
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";}