1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 23:12:44 +01:00
nix/doc/manual/source/protocols/json
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
..
schema JSON for Hash now has to be Base16 2025-11-10 16:43:54 -05:00
build-result.md JSON Impl and schema for BuildResult 2025-11-03 18:25:16 -05:00
build-trace-entry.md JSON Schema for build trace entry 2025-11-03 15:59:50 -05:00
content-address.md nlohmann::json instance and JSON Schema for ContentAddress 2025-10-27 14:47:50 -04:00
derivation.md Change JSON derivation format in two ways 2025-11-06 15:19:44 -05:00
deriving-path.md JSON Schema for DerivedPath 2025-10-24 12:08:00 -04:00
fixup-json-schema-generated-doc.sed nlohmann::json instance and JSON Schema for ContentAddress 2025-10-27 14:47:50 -04:00
hash.md JSON for Hash now has to be Base16 2025-11-10 16:43:54 -05:00
index.md Rename doc/manual{src -> source} 2024-10-14 11:21:24 -04:00
json-schema-for-humans-config.yaml Add JSON Schema infrastructure, use for Derivation 2025-10-16 17:24:18 -04:00
meson.build Make the store path info ca field structured in JSON 2025-11-06 15:19:44 -05:00
store-object-info.md Make the store path info ca field structured in JSON 2025-11-06 15:19:44 -05:00
store-path.md Convert store path info JSON docs to formal JSON Schema, and test 2025-10-28 23:28:16 -04:00