-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
Documentation: pkgs.path #270292
Comments
It refers to a source tree similar to the Nixpkgs repo, but the details are not obvious and may be subject to change, especially for the flake, because the following behavior is bad, and it's unclear to me how Nix's own behavior may change or perhaps improve this.
|
My question is primarily where it should be documented. |
I think we should have a new section between "Build helpers" and "Development of Nixpkgs". It could be titled "Other attributes" and be a reference listing of all non-package, non-build-helper attributes. |
Yes, where's the reference documentation for "pkgs"?
Currently the documentation does not answer the question: what is in Nixpkgs ("pkgs") besides actual packages? Worryingly, the manual doesn't tell us Nixpkgs is a function, and it awkwardly dances around the term |
Usually nix files in nixpkgs contain functions. Am I right? Are there exceptions, counter examples? |
The fact that it's a function isn't very interesting by itself, especially if you might have guessed it. To me it's just necessary lead-up to talking about arguments and the return value "pkgs". It gives a bit of structure. |
Problem
pkgs.path is not in the nixpkgs manual
Proposal
It should be documented but where?
Checklist
Priorities
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: