diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-05-14 18:08:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 18:08:26 -0500 |
commit | 165c151f7af1779576296c52008668910860eaac (patch) | |
tree | 4f84050bbf1993107c07e3c91953824abc1acc2a /lib/modules.nix | |
parent | dd73ab00923a4b39fe7b3fbce31cadfd38d8177b (diff) | |
parent | a7ed44ccadfcf1bd54d0197fbc87b6c1b0bcef7b (diff) |
Merge pull request #34805 from rycee/fix/dorename
lib: make use of visible variable in doRename
Diffstat (limited to 'lib/modules.nix')
-rw-r--r-- | lib/modules.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/modules.nix b/lib/modules.nix index 41a5fb89fde5b..8baae49170538 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -675,6 +675,7 @@ rec { in { config, options, ... }: { options = setAttrByPath from (mkOption { + inherit visible; description = "Alias of <option>${showOption to}</option>."; apply = x: use (toOf config); }); |