lib: make use of visible variable in doRename
The `visible` variable was not hooked up previously. It is used to determine whether the renamed option should be shown in the documentation.
This commit is contained in:
parent
08d1400816
commit
a7ed44ccad
|
@ -664,6 +664,7 @@ rec {
|
|||
in
|
||||
{ config, options, ... }:
|
||||
{ options = setAttrByPath from (mkOption {
|
||||
inherit visible;
|
||||
description = "Alias of <option>${showOption to}</option>.";
|
||||
apply = x: use (toOf config);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue