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

Update doc/manual/source/store/drv.md

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
John Ericson 2025-02-09 19:59:10 -05:00 committed by GitHub
parent 9847acc049
commit cba35b182d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -87,7 +87,7 @@ The [process creation fields] will presumably include many [store paths][store p
- The path to the executable normally starts with a store path - The path to the executable normally starts with a store path
- The arguments and environment variables likely contain many other store paths. - The arguments and environment variables likely contain many other store paths.
But just as we stored the references contained in the file data separately for store objects, so we store the set of inputs separately from the builder, arguments, and environment variables. But rather than somehow scanning all the other fields for inputs, Nix requires that all inputs be explicitly collected in the inputs field. It is instead the responsibility of the creator of a derivation (e.g. the evaluator) to ensure that every store object referenced in another field (e.g. referenced by store path) is included in this inputs field.
### Outputs {#outputs} ### Outputs {#outputs}