summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-07-09 11:32:26 +0200
committerlassulus <git@lassul.us>2023-07-09 11:32:26 +0200
commit305b9e1deee5d9b2d48ff01f647471fdd9ee766c (patch)
treed428676c99fff445126a1d689e6a557dd9a78a91 /lib
parent581665cc9f3c3e8e281ae0fc513fec903cc17b7c (diff)
parenta4ace2b0b35331be531795a351401bc6ca8d827c (diff)
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'lib')
-rw-r--r--lib/pure.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pure.nix b/lib/pure.nix
index bb2d586f6..3329db022 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));