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
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
..
derivation JSON Schema for DerivationOutputs 2025-11-24 15:23:50 -05:00
schema Make storeDir a part of UnkeyedValidPathInfo 2025-12-03 23:20:06 -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
deriving-path.md JSON Schema for DerivedPath 2025-10-24 12:08:00 -04:00
file-system-object.md nlohmann::json instance and JSON Schema for MemorySourceAccessor 2025-11-20 15:19:24 -05:00
fixup-json-schema-generated-doc.sed Move derivation JSON doc to index.md in dir 2025-11-24 15:23:50 -05:00
hash.md JSON for Hash now has to be Base16 2025-12-03 16:08:05 -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 JSON impl and Schema for DummyStore 2025-11-24 17:04:24 -05:00
store-object-info.md Introduce --json-format for nix path-info 2025-12-03 22:04:21 -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
store.md JSON impl and Schema for DummyStore 2025-11-24 17:04:24 -05:00