about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-09-24 12:28:11 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-09-24 12:29:09 +0100
commit43efa4900ccc8726528ed35a3f866b4c19721591 (patch)
tree33bb909e80645506be4900fbd3c381ad6ec54233 /lib
parentfd62fdca5b4e765b80e94be14001648cc91d6781 (diff)
downloadnixlib-43efa4900ccc8726528ed35a3f866b4c19721591.tar
nixlib-43efa4900ccc8726528ed35a3f866b4c19721591.tar.gz
nixlib-43efa4900ccc8726528ed35a3f866b4c19721591.tar.bz2
nixlib-43efa4900ccc8726528ed35a3f866b4c19721591.tar.lz
nixlib-43efa4900ccc8726528ed35a3f866b4c19721591.tar.xz
nixlib-43efa4900ccc8726528ed35a3f866b4c19721591.tar.zst
nixlib-43efa4900ccc8726528ed35a3f866b4c19721591.zip
lib.types.unspecified: Make name match attribute name again
@Infinisil: This isn't right, the name shouldn't be changed, but instead a description should be added
https://github.com/NixOS/nixpkgs/pull/191353#discussion_r978983401
Diffstat (limited to 'lib')
-rw-r--r--lib/types.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/types.nix b/lib/types.nix
index 3750ba965558..061c17e010bc 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -250,7 +250,8 @@ rec {
     };
 
     unspecified = mkOptionType {
-      name = "unspecified value";
+      name = "unspecified";
+      description = "unspecified value";
       descriptionClass = "noun";
     };