about summary refs log tree commit diff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/default.nix b/default.nix
index 17564b61b91e..9cd09e644028 100644
--- a/default.nix
+++ b/default.nix
@@ -97,6 +97,7 @@ in lib.fix (self: {
   bool     = typedef "bool" isBool;
   float    = typedef "float" isFloat;
   string   = typedef "string" isString;
+  path     = typedef "path" (x: typeOf x == "path");
   drv      = typedef "derivation" (x: isAttrs x && x ? "type" && x.type == "derivation");
   function = typedef "function" (x: isFunction x || (isAttrs x && x ? "__functor"
                                                  && isFunction x.__functor));