1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-22 17:01:08 +01:00
nix/src/json-schema-checks
John Ericson 61de9222b0 Use SRI hash (strings) as the official JSON format for Hash after all
The fact that we were introducing a conversion from the output of `nix
path-info` into the input of `builtins.fetchTree` was the deciding
factor. We want scripting outputs into inputs like that to be easy.

Since JSON strings and objects are trivially distinguishable, we still
have the option of introducing the JSON format as an alternative input
scheme in the future, should we want to. (The output format would still
be SRI in that case, presumably.)
2025-12-08 16:50:25 -05:00
..
.version Add JSON Schema infrastructure, use for Derivation 2025-10-16 17:24:18 -04:00
build-result JSON Impl and schema for BuildResult 2025-11-03 18:25:16 -05:00
build-trace-entry JSON Schema for build trace entry 2025-11-03 15:59:50 -05:00
content-address nlohmann::json instance and JSON Schema for ContentAddress 2025-10-27 14:47:50 -04:00
derivation Add JSON Schema infrastructure, use for Derivation 2025-10-16 17:24:18 -04:00
derivation-options JSON Schema for DerivationOutputs 2025-11-24 15:23:50 -05:00
deriving-path JSON Schema for DerivedPath 2025-10-24 12:08:00 -04:00
file-system-object nlohmann::json instance and JSON Schema for MemorySourceAccessor 2025-11-20 15:19:24 -05:00
hash nlohmann::json instance and JSON Schema for Hash 2025-10-20 15:21:07 -04:00
meson.build Use SRI hash (strings) as the official JSON format for Hash after all 2025-12-08 16:50:25 -05:00
nar-info Convert store path info JSON docs to formal JSON Schema, and test 2025-10-28 23:28:16 -04:00
package.nix JSON impl and Schema for DummyStore 2025-11-24 17:04:24 -05:00
schema Add JSON Schema infrastructure, use for Derivation 2025-10-16 17:24:18 -04:00
store JSON impl and Schema for DummyStore 2025-11-24 17:04:24 -05:00
store-object-info Convert store path info JSON docs to formal JSON Schema, and test 2025-10-28 23:28:16 -04:00
store-path Create JSON Schema for Store Paths 2025-10-28 17:22:51 -04:00