1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-18 15:01:08 +01:00
nix/src/libstore-tests/data/path-info/json-2
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
..
empty_impure.json Make storeDir a part of UnkeyedValidPathInfo 2025-12-03 23:20:06 -05:00
empty_pure.json Make storeDir a part of UnkeyedValidPathInfo 2025-12-03 23:20:06 -05:00
impure.json Make storeDir a part of UnkeyedValidPathInfo 2025-12-03 23:20:06 -05:00
pure.json Make storeDir a part of UnkeyedValidPathInfo 2025-12-03 23:20:06 -05:00