Repository navigation
modules/meta-maintainers: set option as internal - #482766
Malix-Labs wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
This is very clearly a home-manager bug that is also only encountered with a third-party distribution of Nix. There is no reason to alter Nixpkgs needlessly when the fix to that issue should be in home-manager's consumption of the maintainer module system or in their docs generator.
Additionally, please heed our Commit Conventions for future contributions to Nixpkgs.
|
@SigmaSquadron please see nix-community/home-manager#7935 (comment) Also wouldn't it sementically make more sense anyway ? About the commit convention, I thought I had followed them, what's wrong with my commit about it? |
I've blocked this because it seems like a patchwork fix when the root cause (docs generation/downstream module consumption) should be fixed instead. As for semantic sense, I'd leave it to @roberth as the generic modules maintainer.
|
|
Home Manager could use option merging to make it internal, but I wouldn't recommend it, because this is a Determinate Nix bug. They simply shouldn't warn about this. nix-repl> (lib.evalModules { modules = [ ./modules/generic/meta-maintainers.nix
{ options.meta.maintainers = lib.mkOption { internal = true; }; } ]; }).
options.meta.maintainers.internal
true |
|
I get that it is a workaround, but regardless, wouldn't that option make sense to be set as |
FIXES: nix-community/home-manager#7935
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.