-
-
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
Make flake metadata evaluation behaviour more discoverable #6592
base: master
Are you sure you want to change the base?
Conversation
This helps NixOS#4945, but I haven't checked all cases are covered by this single error message.
cc #4945 |
These commits seem to imply the entire flake.nix cannot perform evaluation. Closer would be to say that a flake.nix contains up to three attributes at the top-level: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, that's a great addition :)
I'm a bit annoyed by the pointer to a github issue, though. If there's some valuable information in the issue that's missing from the manual, then it should be ported to the manual rather than linked from the source code
That would be nice and it did annoy me a bit too but I'm not sure how to do that. If you have any ideas on how to make that fit in that'd be nice. |
We definitely shouldn't link to GitHub issues in error messages, except maybe if there is an actual bug, which is not the case here. |
|
See commit messages. Builds and works for me in a
nix develop
shell.