about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 18:58:03 +0200
committerSilvan Mosberger <silvan.mosberger@tweag.io>2024-06-20 22:48:54 +0200
commit1e4f04d4d62701f5f8dfd37f3c535e8d2b2fbb97 (patch)
treee2287de8a930d58a4870aa0ee3c1127f37a1a23b /lib
parentd3c09b9327427dc4bec632ca60924e5dc4e05607 (diff)
lib.replaceStrings: inherit from lib.strings
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 20a7cf93b370b..5d98a58836f8a 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -66,7 +66,6 @@ let
 
     inherit (builtins) addErrorContext
       isPath
-      replaceStrings
       trace;
     inherit (self.trivial) id const pipe concat or and xor bitAnd bitOr bitXor
       bitNot boolToString mergeAttrs flip mapNullable inNixShell isFloat min max
@@ -96,7 +95,7 @@ let
       subtractLists mutuallyExclusive groupBy groupBy' concatLists genList
       length head tail elem elemAt isList;
     inherit (self.strings) concatStrings concatMapStrings concatImapStrings
-      stringLength substring isString
+      stringLength substring isString replaceStrings
       intersperse concatStringsSep concatMapStringsSep
       concatImapStringsSep concatLines makeSearchPath makeSearchPathOutput
       makeLibraryPath makeIncludePath makeBinPath optionalString