-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
reword documentation on nix-path
config option
#7772
reword documentation on nix-path
config option
#7772
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/tweag-nix-dev-update-44/25546/1 |
854156a
to
d3ff65f
Compare
Or we trying to document the current behavior or the intended behavior? Because this to me is not quitethe intended behavior. The rules I wrote in #7871 (comment) are not intended to be just just for Documenting this stuff per a specific option like |
I agree this should just follow the standard pattern. But since there are four possibilities of changing the search path, I opted for making that explicit here. We don't have to do it that way, and I'm open for concrete suggestions. |
@fricklerhandwerk I am thinking of adding to (Or maybe it would be sub-class.) |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/tweag-nix-dev-update-45/26397/1 |
Triaged in the Nix team meeting 2023-03-31:
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/2023-03-31-nix-team-meeting-minutes-45/27002/1 |
🎉 All dependencies have been resolved ! |
d3ff65f
to
483d4c1
Compare
483d4c1
to
4706c19
Compare
- put all the information on search path semantics into `builtins.findFile` - put all the information on determining the value of `builtins.nixPath` into the `nix-path` setting maybe `builtins.nixPath` is a better place for this, but those bits can still be moved around now that it's all next to each other. - link to the syntax page for lookup paths from all places that are concerned with it - add or clarify examples - add a test verifying a claim from documentation
4706c19
to
cdcb99f
Compare
also make the fallback values explicit.
Motivation
this is to clarify behavior. using the positive boolean is easier to read,
as it does not require flipping bits in your head.
Context
Follow-up on #7689 by @ncfavier instead of making a post-factum review.
Update: unfortunately that PR did not actually implement the desired behavior.
Depends on: #7871
Checklist for maintainers
Maintainers: tick if completed or explain if not relevant
tests/**.sh
src/*/tests
tests/nixos/*