-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add release note for derivation JSON change
- Loading branch information
1 parent
d9b5fdc
commit 0ae9eb3
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
synopsis: Modify `nix derivation {add,show}` JSON format | ||
issues: 9866 | ||
prs: 10722 | ||
--- | ||
|
||
The JSON format for derivations has been slightly revised to better conform to our [JSON guidlines](@docroot@contributing/cli-guideline#returning-future-proof-json). | ||
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. |