summary refs log tree commit diff
path: root/pkgs/lib/types.nix
diff options
context:
space:
mode:
authorNicolas Pierron <nicolas.b.pierron@gmail.com>2011-04-27 18:41:27 +0000
committerNicolas Pierron <nicolas.b.pierron@gmail.com>2011-04-27 18:41:27 +0000
commit3770ac23aa811cd4d81ad27dd4ead4a3cd7bdc28 (patch)
tree34d38f8f6e2b4907f074876a64d596d6adac933e /pkgs/lib/types.nix
parent6680e9f30b92c38daa8b5215c0f5e507cde78164 (diff)
downloadnixpkgs-3770ac23aa811cd4d81ad27dd4ead4a3cd7bdc28.tar
nixpkgs-3770ac23aa811cd4d81ad27dd4ead4a3cd7bdc28.tar.gz
nixpkgs-3770ac23aa811cd4d81ad27dd4ead4a3cd7bdc28.tar.bz2
nixpkgs-3770ac23aa811cd4d81ad27dd4ead4a3cd7bdc28.tar.lz
nixpkgs-3770ac23aa811cd4d81ad27dd4ead4a3cd7bdc28.tar.xz
nixpkgs-3770ac23aa811cd4d81ad27dd4ead4a3cd7bdc28.tar.zst
nixpkgs-3770ac23aa811cd4d81ad27dd4ead4a3cd7bdc28.zip
Fix type name of attribute sets.
svn path=/nixpkgs/trunk/; revision=27011
Diffstat (limited to 'pkgs/lib/types.nix')
-rw-r--r--pkgs/lib/types.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/lib/types.nix b/pkgs/lib/types.nix
index fd3c071c0be..2416fbe30a3 100644
--- a/pkgs/lib/types.nix
+++ b/pkgs/lib/types.nix
@@ -101,7 +101,7 @@ rec {
     };
 
     attrsOf = elemType: mkOptionType {
-      name = "attribute set of ${elemType}s";
+      name = "attribute set of ${elemType.name}s";
       check = x: lib.traceValIfNot builtins.isAttrs x
         && fold (e: v: v && elemType.check e) true (lib.attrValues x);
       merge = lib.zip (name: elemType.merge);