summary refs log tree commit diff
path: root/lib/default.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-12-31 01:47:28 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-12-31 01:47:28 +0100
commitcb98e26aaff781ed48a1885e7a6423708fb564b8 (patch)
treed70e7beab8d53b8b300512368038319f398517be /lib/default.nix
parentd103811173b7b608b2639af61d422736bf715a8e (diff)
downloadnixpkgs-cb98e26aaff781ed48a1885e7a6423708fb564b8.tar
nixpkgs-cb98e26aaff781ed48a1885e7a6423708fb564b8.tar.gz
nixpkgs-cb98e26aaff781ed48a1885e7a6423708fb564b8.tar.bz2
nixpkgs-cb98e26aaff781ed48a1885e7a6423708fb564b8.tar.lz
nixpkgs-cb98e26aaff781ed48a1885e7a6423708fb564b8.tar.xz
nixpkgs-cb98e26aaff781ed48a1885e7a6423708fb564b8.tar.zst
nixpkgs-cb98e26aaff781ed48a1885e7a6423708fb564b8.zip
lib: Add isStringLike
Diffstat (limited to 'lib/default.nix')
-rw-r--r--lib/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix
index a6da4f4bda0..f0f136adbc4 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -96,14 +96,16 @@ let
       concatImapStringsSep makeSearchPath makeSearchPathOutput
       makeLibraryPath makeBinPath optionalString
       hasInfix hasPrefix hasSuffix stringToCharacters stringAsChars escape
-      escapeShellArg escapeShellArgs isValidPosixName toShellVar toShellVars
+      escapeShellArg escapeShellArgs
+      isStorePath isStringLike
+      isValidPosixName toShellVar toShellVars
       escapeRegex escapeXML replaceChars lowerChars
       upperChars toLower toUpper addContextFrom splitString
       removePrefix removeSuffix versionOlder versionAtLeast
       getName getVersion
       mesonOption mesonBool mesonEnable
       nameFromURL enableFeature enableFeatureAs withFeature
-      withFeatureAs fixedWidthString fixedWidthNumber isStorePath
+      withFeatureAs fixedWidthString fixedWidthNumber
       toInt toIntBase10 readPathsFromFile fileContents;
     inherit (self.stringsWithDeps) textClosureList textClosureMap
       noDepEntry fullDepEntry packEntry stringAfter;