1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-14 22:42:41 +01:00
nix/tests/functional/git-hashing
John Ericson 13b44742a4 JSON for Hash now has to be Base16
Fix #14532.

As discussed on the call today:

1. We'll stick with `format = "base16"` and `hash = "<hash>"`, not do
   `base16 = "<hash>"`, in order to be forward compatible with
   supporting more versioning formats.

   The motivation we discussed for someday *possibly* doing this is
   making it easier to write very slap-dash lang2nix tools that create
   (not consume) derivations with dynamic derivations.

2. We will remove support for non-base16 (and make that the default, not
   base64) in `Hash`, so this is strictly forward contingency, *not*
   yet something we support. (And also not something we have concrete
   plans to start supporting.)
2025-11-10 16:43:54 -05:00
..
common.sh Implement support for Git hashing with SHA-256 2025-07-25 10:19:08 -04:00
fixed.sh Implement support for Git hashing with SHA-256 2025-07-25 10:19:08 -04:00
meson.build meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
simple-common.sh JSON for Hash now has to be Base16 2025-11-10 16:43:54 -05:00
simple-sha1.sh Implement support for Git hashing with SHA-256 2025-07-25 10:19:08 -04:00
simple-sha256.sh Implement support for Git hashing with SHA-256 2025-07-25 10:19:08 -04:00