summary refs log tree commit diff
path: root/lib/types.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-27 21:27:29 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-02-27 21:27:29 +0100
commitebe57b1ac83792128c8ef613f9009e2234bb05b3 (patch)
tree1df64c5eb8dd8585ff8801ac64739d78c6fb5473 /lib/types.nix
parentd74c40d6bf47226b236e2ced0817bbc15a15dd50 (diff)
downloadnixpkgs-ebe57b1ac83792128c8ef613f9009e2234bb05b3.tar
nixpkgs-ebe57b1ac83792128c8ef613f9009e2234bb05b3.tar.gz
nixpkgs-ebe57b1ac83792128c8ef613f9009e2234bb05b3.tar.bz2
nixpkgs-ebe57b1ac83792128c8ef613f9009e2234bb05b3.tar.lz
nixpkgs-ebe57b1ac83792128c8ef613f9009e2234bb05b3.tar.xz
nixpkgs-ebe57b1ac83792128c8ef613f9009e2234bb05b3.tar.zst
nixpkgs-ebe57b1ac83792128c8ef613f9009e2234bb05b3.zip
Remove lib.typeOf
It clashes with builtins.typeOf.
Diffstat (limited to 'lib/types.nix')
-rw-r--r--lib/types.nix1
1 files changed, 0 insertions, 1 deletions
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;