Merge branch 'master' into stdenv-updates.

This commit is contained in:
Peter Simons
2013-01-04 21:00:53 +01:00
80 changed files with 1022 additions and 222 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ with import ./trivial.nix;
rec {
hasType = x: isAttrs x && x ? _type;
typeOf = x: if hasType x then x._type else "";
typeOf = x: x._type or "";
setType = typeName: value: value // {
_type = typeName;