1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-14 13:01:05 +01:00
nix/doc/manual/source/protocols/json/schema
John Ericson f9089deb20 Make storeDir a part of UnkeyedValidPathInfo
The previous commit hacked it into the output of `nix path-info --json`,
this cleans that up my making it an actual field of that data type, and
part of the canonical JSON serializers for it (and `ValidPathInfo` and
`NarInfo`).

Beyond cleaning up the JSON code, this also opens the doors to things
like:

- Binary caches that contain store objects that don't all belong in the
  same store directory

- Relocatable store objects which carefully don't mention any store
  directory by absolute path, and instead use relative paths for
  anything. (#9549)
2025-12-03 23:20:06 -05:00
..
build-result-v1 JSON Impl and schema for BuildResult 2025-11-03 18:25:16 -05:00
build-result-v1.yaml JSON Impl and schema for BuildResult 2025-11-03 18:25:16 -05:00
build-trace-entry-v1 JSON Schema for build trace entry 2025-11-03 15:59:50 -05:00
build-trace-entry-v1.yaml JSON impl and Schema for DummyStore 2025-11-24 17:04:24 -05:00
content-address-v1 nlohmann::json instance and JSON Schema for ContentAddress 2025-10-27 14:47:50 -04:00
content-address-v1.yaml nlohmann::json instance and JSON Schema for ContentAddress 2025-10-27 14:47:50 -04:00
derivation-options-v1 JSON Schema for DerivationOutputs 2025-11-24 15:23:50 -05:00
derivation-options-v1.yaml JSON Schema for DerivationOutputs 2025-11-24 15:23:50 -05:00
derivation-v4.yaml Change JSON derivation format in two ways 2025-11-06 15:19:44 -05:00
deriving-path-v1 JSON Schema for DerivedPath 2025-10-24 12:08:00 -04:00
deriving-path-v1.yaml Create JSON Schema for Store Paths 2025-10-28 17:22:51 -04:00
file-system-object-v1 nlohmann::json instance and JSON Schema for MemorySourceAccessor 2025-11-20 15:19:24 -05:00
file-system-object-v1.yaml nlohmann::json instance and JSON Schema for MemorySourceAccessor 2025-11-20 15:19:24 -05:00
hash-v1 nlohmann::json instance and JSON Schema for Hash 2025-10-20 15:21:07 -04:00
hash-v1.yaml JSON for Hash now has to be Base16 2025-12-03 16:08:05 -05:00
nar-info-v2 Introduce --json-format for nix path-info 2025-12-03 22:04:21 -05:00
store-object-info-v2 Introduce --json-format for nix path-info 2025-12-03 22:04:21 -05:00
store-object-info-v2.yaml Make storeDir a part of UnkeyedValidPathInfo 2025-12-03 23:20:06 -05:00
store-path-v1 Create JSON Schema for Store Paths 2025-10-28 17:22:51 -04:00
store-path-v1.yaml Create JSON Schema for Store Paths 2025-10-28 17:22:51 -04:00
store-v1 JSON impl and Schema for DummyStore 2025-11-24 17:04:24 -05:00
store-v1.yaml JSON impl and Schema for DummyStore 2025-11-24 17:04:24 -05:00