diff options
Diffstat (limited to 'lib/options.nix')
-rw-r--r-- | lib/options.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/options.nix b/lib/options.nix index 444ec37e6eaf..2092b65bbc3a 100644 --- a/lib/options.nix +++ b/lib/options.nix @@ -92,7 +92,7 @@ rec { internal = opt.internal or false; visible = opt.visible or true; readOnly = opt.readOnly or false; - type = opt.type.name or null; + type = opt.type.description or null; } // (if opt ? example then { example = scrubOptionValue opt.example; } else {}) // (if opt ? default then { default = scrubOptionValue opt.default; } else {}) |