summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2023-07-04 13:00:04 +0200
committertv <tv@krebsco.de>2023-07-04 13:00:04 +0200
commit508e87343195d04be64234c771ba5caad833b5f8 (patch)
treee712784375579f44c017bcd0c728d90fe6fd119f
parentea579afe59d99f6c511a9cba49f98eddd21441e5 (diff)
treewide: replaceChars -> replaceStrings
-rw-r--r--lib/pure.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure.nix b/lib/pure.nix
index bb2d586..3329db0 100644
--- a/lib/pure.nix
+++ b/lib/pure.nix
@@ -26,7 +26,7 @@ let
krops = import ../submodules/krops/lib;
shell = import ./shell.nix { inherit (stockholm) lib; };
systemd = {
- encodeName = replaceChars ["/"] ["\\x2f"];
+ encodeName = replaceStrings ["/"] ["\\x2f"];
};
types = nixpkgs-lib.types // import ./types.nix { lib = stockholm.lib; };
uri = import ./uri.nix { inherit (stockholm) lib; };
@@ -79,7 +79,7 @@ let
string = toJSON x; # close enough
}.${type} or reject;
- indent = replaceChars ["\n"] ["\n "];
+ indent = replaceStrings ["\n"] ["\n "];
stripAttr = converge (filterAttrsRecursive (n: v: v != {} && v != null));