From a7ed44ccadfcf1bd54d0197fbc87b6c1b0bcef7b Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Sat, 10 Feb 2018 10:28:30 +0100 Subject: [PATCH] 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. --- lib/modules.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/modules.nix b/lib/modules.nix index 654c4c588de..019f11d11bc 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -664,6 +664,7 @@ rec { in { config, options, ... }: { options = setAttrByPath from (mkOption { + inherit visible; description = "Alias of ."; apply = x: use (toOf config); });