Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document the concept of search paths in a central place #8228

Closed
2 tasks done
fricklerhandwerk opened this issue Apr 17, 2023 · 3 comments · Fixed by #11288
Closed
2 tasks done

Document the concept of search paths in a central place #8228

fricklerhandwerk opened this issue Apr 17, 2023 · 3 comments · Fixed by #11288

Comments

@fricklerhandwerk
Copy link
Contributor

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:

  • 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.

Checklist

Priorities

Add 👍 to issues you find important.

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/2023-04-17-nix-team-meeting-minutes-49/27379/1

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/tweag-nix-dev-update-47/27387/1

@fricklerhandwerk 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
@fricklerhandwerk
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants