-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add documentation for common flake outputs #5955
base: master
Are you sure you want to change the base?
Conversation
To prevent it from becoming outdated, maybe it should be restricted to flake outputs that are used/recognized by The manpage for |
Used-by: `nix flake check` | ||
Checked: Yes | ||
Type: systemAttrs (attrsOf (derivation)) |
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.
This doesn't format in a nice way, namely "Used-by: nix flake check Checked: Yes Type: systemAttrs (attrsOf (derivation))".
|
Formally marking as draft, given old title. |
Oh my, I've been searching for something like this for weeks! The best I could find is the "Output Schema" section on the NixOS Wiki page on Flakes.
That might help with preventing outdated info, but it would lead to the same problem we already have, which is that documentation is split across many different locations. Of course, the specifics of I agree that this PR right now is not perfect, though. Every output should be linked to the tool that uses it, and the formatting needs to be fixed. Apart from that, this seems like a very important addition to merge. |
First attempt at addressing #5716
Some issues with this:
defaultX
flake outputs toX.default
#5532, as the documentation could be half as long.apps
could just have a link to thenix run
page, and not tell people hownix run
works.hydraJobs
section.