You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not obvious where that central place should be.
From an interface perspective, it's cross-cutting concern that cannot easily attached to any part of the system. There should still be references to the central documentation from the various entry points:
configuration options (nix-path)
environment variables (NIX_PATH)
command line flags (-I)
language features (builtins.nixPath (currently undocumented), <...> syntax)
Conceptually it's a parameter to the language evaluator.
@Ericson2314 proposes to publish builtins.nixPath documentation and put the information there, since that would constitute a narrow waist and one could imagine that the <...> syntax is just sugar around builtins.nixPath.
fricklerhandwerk
changed the title
Document the concept search paths in a central place
Document the concept of search paths in a central place
Apr 18, 2023
Problem
Information about search path behavior is scattered all over the manual, and it's hard to find everything that's important to know.
Related, more information: #7848
Proposal
It's not obvious where that central place should be.
From an interface perspective, it's cross-cutting concern that cannot easily attached to any part of the system. There should still be references to the central documentation from the various entry points:
nix-path
)NIX_PATH
)-I
)builtins.nixPath
(currently undocumented),<...>
syntax)Conceptually it's a parameter to the language evaluator.
@Ericson2314 proposes to publish
builtins.nixPath
documentation and put the information there, since that would constitute a narrow waist and one could imagine that the<...>
syntax is just sugar aroundbuiltins.nixPath
.Checklist
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: