1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-10-18 14:32:45 -04:00
nix/doc/manual/rl-next/derivation-json-change.md
John Ericson 1c75af969a Document store object content addressing & improve JSON format
The JSON format no longer uses the legacy ATerm `r:` prefixing nonsese,
but separate fields.

Progress on #9866

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
2024-05-20 09:34:35 -04:00

690 B

synopsis issues prs
Modify `nix derivation {add,show}` JSON format 9866 10722

The JSON format for derivations has been slightly revised to better conform to our JSON guidelines. In particular, the hash algorithm and content addressing method of content-addresed derivation outputs is now separated into two fields hashAlgo and method, rather than one field with an arcane :-separated format.

This JSON format is only used by the experimental nix derivation family of commands, at this time. Future revisions are expected as the JSON format is still not entirely in compliance even after these changes.