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
|
in
|
||||||
{ config, options, ... }:
|
{ config, options, ... }:
|
||||||
{ options = setAttrByPath from (mkOption {
|
{ options = setAttrByPath from (mkOption {
|
||||||
|
inherit visible;
|
||||||
description = "Alias of <option>${showOption to}</option>.";
|
description = "Alias of <option>${showOption to}</option>.";
|
||||||
apply = x: use (toOf config);
|
apply = x: use (toOf config);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue