diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-03-30 11:06:52 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-04-07 08:34:58 -0400 |
commit | b200784cec056da53378eb043cae4fad188e4e6f (patch) | |
tree | 1e9dcaf438a6b7f7348d811b9ec90a47f7befc14 /src/nix/show-derivation.md | |
parent | fe9cbe838c3d59e2768b92d8cab0e5a2674f5bfb (diff) |
Include the name in the JSON for derivations
This is non-breaking change in the to-JSON direction. This *is* a
breaking change in the from-JSON direction, but we don't care, as that
is brand new in this PR.
`nix show-derivation --help` currently has the sole public documentation
of this format, it is updated accordingly.
Diffstat (limited to 'src/nix/show-derivation.md')
-rw-r--r-- | src/nix/show-derivation.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nix/show-derivation.md b/src/nix/show-derivation.md index 1d37c6f5a..17d88a5f9 100644 --- a/src/nix/show-derivation.md +++ b/src/nix/show-derivation.md @@ -51,6 +51,9 @@ The JSON output is a JSON object whose keys are the store paths of the derivations, and whose values are a JSON object with the following fields: +* `name`: The name of the derivation. This is used when calculating the + store paths of the derivation's outputs. + * `outputs`: Information about the output paths of the derivation. This is a JSON object with one member per output, where the key is the output name and the value is a JSON object with these |