Author: NicolasPierron
Date: Wed Apr 27 18:41:27 2011
New Revision: 27011
URL: https://svn.nixos.org/websvn/nix/?rev=27011&sc=1
Log:
Fix type name of attribute sets.
Modified:
nixpkgs/trunk/pkgs/lib/types.nix
Modified: nixpkgs/trunk/pkgs/lib/types.nix
==============================================================================
--- nixpkgs/trunk/pkgs/lib/types.nix Wed Apr 27 16:27:18 2011 (r27010)
+++ nixpkgs/trunk/pkgs/lib/types.nix Wed Apr 27 18:41:27 2011 (r27011)
@@ -101,7 +101,7 @@
};
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);
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits