From cba35b182d48017b64248dd6d8fef270f1abaf70 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Sun, 9 Feb 2025 19:59:10 -0500 Subject: [PATCH] Update doc/manual/source/store/drv.md Co-authored-by: Robert Hensing --- doc/manual/source/store/drv.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/source/store/drv.md b/doc/manual/source/store/drv.md index eba3628f0..b359f85fc 100644 --- a/doc/manual/source/store/drv.md +++ b/doc/manual/source/store/drv.md @@ -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 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}