summary refs log tree commit diff
path: root/pkgs/lib/types.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2009-07-17 12:04:34 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2009-07-17 12:04:34 +0000
commit10c4ec0ed876b1c889d23e42827e855e7a62a92c (patch)
treee8c30f742e0797699b071e62750f14acc4d054bf /pkgs/lib/types.nix
parent9075d2a2cd4ab4d7fe3741420da85d8095ac93f2 (diff)
downloadnixpkgs-10c4ec0ed876b1c889d23e42827e855e7a62a92c.tar
nixpkgs-10c4ec0ed876b1c889d23e42827e855e7a62a92c.tar.gz
nixpkgs-10c4ec0ed876b1c889d23e42827e855e7a62a92c.tar.bz2
nixpkgs-10c4ec0ed876b1c889d23e42827e855e7a62a92c.tar.lz
nixpkgs-10c4ec0ed876b1c889d23e42827e855e7a62a92c.tar.xz
nixpkgs-10c4ec0ed876b1c889d23e42827e855e7a62a92c.tar.zst
nixpkgs-10c4ec0ed876b1c889d23e42827e855e7a62a92c.zip
svn path=/nixpkgs/trunk/; revision=16412
Diffstat (limited to 'pkgs/lib/types.nix')
-rw-r--r--pkgs/lib/types.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/lib/types.nix b/pkgs/lib/types.nix
index a9fa41ebdd5..7e164f30764 100644
--- a/pkgs/lib/types.nix
+++ b/pkgs/lib/types.nix
@@ -110,6 +110,8 @@ rec {
       fold = op: nul: v: if v == null then nul else elemType.fold op nul v;
     };
 
+    # !!! this should be a type constructor that takes the options as
+    # an argument.
     optionSet = mkOptionType {
       name = "option set";
       check = x: lib.traceValIfNot builtins.isAttrs x;