summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-12-31 00:53:24 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-12-31 01:33:47 +0100
commitd0d0f7d0aaf1ea29f6fe269340186de12d697dea (patch)
tree4e33e3063bb947adcc0cfb7d929f2c3eeed09459
parent23c25d5231856e8cfd60049582c865da97bc5d44 (diff)
lib: Add isPath
Available since Nix 2.3, which is the Nixpkgs minimum version. Thanks zimbatm!
-rw-r--r--lib/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 68e5b8dea1eb..a6da4f4bda0f 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -63,7 +63,7 @@ let
inherit (builtins) add addErrorContext attrNames concatLists
deepSeq elem elemAt filter genericClosure genList getAttr
- hasAttr head isAttrs isBool isInt isList isString length
+ hasAttr head isAttrs isBool isInt isList isPath isString length
lessThan listToAttrs pathExists readFile replaceStrings seq
stringLength sub substring tail trace;
inherit (self.trivial) id const pipe concat or and bitAnd bitOr bitXor