1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

Convert store path info JSON docs to formal JSON Schema, and test

This continues the work for formalizing our current JSON docs. Note that
in the process, a few bugs were caught:

 - `closureSize` was repeated twice, forgot `closureDownloadSize`

 - `file*` fields should be `download*`. They are in fact called that in
   the line-oriented `.narinfo` file, but were renamed in the JSON
   format.
This commit is contained in:
John Ericson 2025-10-28 13:24:05 -04:00
parent f1d4fab1e5
commit 6280905638
13 changed files with 327 additions and 90 deletions

View file

@ -25,6 +25,8 @@ mkMesonDerivation (finalAttrs: {
../../src/libstore-tests/data/store-path
../../src/libstore-tests/data/derivation
../../src/libstore-tests/data/derived-path
../../src/libstore-tests/data/path-info
../../src/libstore-tests/data/nar-info
./.
];