summaryrefslogtreecommitdiffstats
path: root/makefu
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 /makefu
parent581665cc9f3c3e8e281ae0fc513fec903cc17b7c (diff)
parenta4ace2b0b35331be531795a351401bc6ca8d827c (diff)
Merge remote-tracking branch 'ni/master'
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}