From ebe57b1ac83792128c8ef613f9009e2234bb05b3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 27 Feb 2014 21:27:29 +0100 Subject: [PATCH] Remove lib.typeOf It clashes with builtins.typeOf. --- lib/types.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/types.nix b/lib/types.nix index 9bce56bf807..baf8aa5e574 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -10,7 +10,6 @@ with import ./strings.nix; rec { isType = type: x: (x._type or "") == type; - typeOf = x: x._type or ""; setType = typeName: value: value // { _type = typeName;