diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-12-31 00:53:24 +0100 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-12-31 01:33:47 +0100 |
commit | d0d0f7d0aaf1ea29f6fe269340186de12d697dea (patch) | |
tree | 4e33e3063bb947adcc0cfb7d929f2c3eeed09459 | |
parent | 23c25d5231856e8cfd60049582c865da97bc5d44 (diff) |
lib: Add isPath
Available since Nix 2.3, which is the Nixpkgs minimum version.
Thanks zimbatm!
-rw-r--r-- | lib/default.nix | 2 |
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 |