summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorMatthew Justin Bauer <mjbauer95@gmail.com>2018-05-14 18:08:26 -0500
committerGitHub <noreply@github.com>2018-05-14 18:08:26 -0500
commit165c151f7af1779576296c52008668910860eaac (patch)
tree4f84050bbf1993107c07e3c91953824abc1acc2a /lib
parentdd73ab00923a4b39fe7b3fbce31cadfd38d8177b (diff)
parenta7ed44ccadfcf1bd54d0197fbc87b6c1b0bcef7b (diff)
downloadnixpkgs-165c151f7af1779576296c52008668910860eaac.tar
nixpkgs-165c151f7af1779576296c52008668910860eaac.tar.gz
nixpkgs-165c151f7af1779576296c52008668910860eaac.tar.bz2
nixpkgs-165c151f7af1779576296c52008668910860eaac.tar.lz
nixpkgs-165c151f7af1779576296c52008668910860eaac.tar.xz
nixpkgs-165c151f7af1779576296c52008668910860eaac.tar.zst
nixpkgs-165c151f7af1779576296c52008668910860eaac.zip
Merge pull request #34805 from rycee/fix/dorename
lib: make use of visible variable in doRename
Diffstat (limited to 'lib')
-rw-r--r--lib/modules.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/modules.nix b/lib/modules.nix
index 41a5fb89fde..8baae491705 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);
         });