Merge pull request #34805 from rycee/fix/dorename

lib: make use of visible variable in doRename
This commit is contained in:
Matthew Justin Bauer 2018-05-14 18:08:26 -05:00 committed by GitHub
commit 165c151f7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
});