Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixos/security.wrappers: improve documentation
* The source attribute is mandatory, not optional * The program attribute is optional * Move the info about the mandatory attribute first (most important, IMHO)
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ce0a52f
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.
@bjornfor thanks for cleaning this up, I have no problem taking care of the mistakes or improvements myself so please if you discover more push them onto me.
ce0a52f
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.
@ixmatus: Thanks.
For improvement, I wonder if security.wrappers would benefit from being a submodule, so that each sub-attribute can get a proper type. That way we'd be able to catch some configuration errors early, and perhaps show a more friendly message than a build error with trace. But now we're getting way beyond bugfixing, and I don't plan to work on that.
Regarding me doing the fixes, it just felt easier/faster doing it like that. It was frustrating with yet another breaking change hit master, but better use frustration to something positive (fix things) :-)