From 3770ac23aa811cd4d81ad27dd4ead4a3cd7bdc28 Mon Sep 17 00:00:00 2001 From: Nicolas Pierron Date: Wed, 27 Apr 2011 18:41:27 +0000 Subject: Fix type name of attribute sets. svn path=/nixpkgs/trunk/; revision=27011 --- pkgs/lib/types.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit 1.4.1