Merge pull request #34805 from rycee/fix/dorename
lib: make use of visible variable in doRename
This commit is contained in:
commit
165c151f7a
|
@ -675,6 +675,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 New Issue