summary refs log tree commit diff
path: root/nixos/modules/installer
diff options
context:
space:
mode:
authorEric Sagnes <eric.sagnes@gmail.com>2016-09-07 10:03:32 +0900
committerNicolas B. Pierron <nicolas.b.pierron@gmail.com>2016-11-06 00:05:58 +0100
commite14de56613fc8e42fb6249031efe9e7abbb65286 (patch)
tree4a0d884bf0b5698cf42705ff25c5806ace87951f /nixos/modules/installer
parentd10356b82558fe50e1ad0fa1fb5e151c43ed3e0a (diff)
downloadnixlib-e14de56613fc8e42fb6249031efe9e7abbb65286.tar
nixlib-e14de56613fc8e42fb6249031efe9e7abbb65286.tar.gz
nixlib-e14de56613fc8e42fb6249031efe9e7abbb65286.tar.bz2
nixlib-e14de56613fc8e42fb6249031efe9e7abbb65286.tar.lz
nixlib-e14de56613fc8e42fb6249031efe9e7abbb65286.tar.xz
nixlib-e14de56613fc8e42fb6249031efe9e7abbb65286.tar.zst
nixlib-e14de56613fc8e42fb6249031efe9e7abbb65286.zip
module system: extensible option types
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r--nixos/modules/installer/tools/nixos-option.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-option.sh b/nixos/modules/installer/tools/nixos-option.sh
index 17c17d05e288..27eacda48a87 100644
--- a/nixos/modules/installer/tools/nixos-option.sh
+++ b/nixos/modules/installer/tools/nixos-option.sh
@@ -256,7 +256,7 @@ if isOption opt then
   // optionalAttrs (opt ? default) { inherit (opt) default; }
   // optionalAttrs (opt ? example) { inherit (opt) example; }
   // optionalAttrs (opt ? description) { inherit (opt) description; }
-  // optionalAttrs (opt ? type) { typename = opt.type.name; }
+  // optionalAttrs (opt ? type) { typename = opt.type.description; }
   // optionalAttrs (opt ? options) { inherit (opt) options; }
   // {
     # to disambiguate the xml output.