summaryrefslogtreecommitdiffstats
path: root/makefu
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
commit537fa18f762e28f2f475f9e00dedf71914a0c8f6 (patch)
treec10975a55a2def686c10068e9058d9a421b73791 /makefu
parent6ad13152c49b86de002b519e9c8bb95085d540f1 (diff)
treewide: replaceChars -> replaceStrings
Diffstat (limited to 'makefu')
-rw-r--r--makefu/3modules/snapraid.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefu/3modules/snapraid.nix b/makefu/3modules/snapraid.nix
index 1a2c08475..25254c142 100644
--- a/makefu/3modules/snapraid.nix
+++ b/makefu/3modules/snapraid.nix
@@ -4,7 +4,7 @@ with import <stockholm/lib>;
let
# returns dirname without / , used as disk name
- dname = dir: replaceChars ["/"] [""] (head (reverseList (splitString "/" dir)));
+ dname = dir: replaceStrings ["/"] [""] (head (reverseList (splitString "/" dir)));
snapraid-conf = ''
# Disks
${concatMapStringsSep "\n" (d: "disk ${dname d} ${d}") cfg.disks}