From 537fa18f762e28f2f475f9e00dedf71914a0c8f6 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 4 Jul 2023 13:00:04 +0200 Subject: treewide: replaceChars -> replaceStrings --- makefu/3modules/snapraid.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'makefu/3modules') diff --git a/makefu/3modules/snapraid.nix b/makefu/3modules/snapraid.nix index 1a2c0847..25254c14 100644 --- a/makefu/3modules/snapraid.nix +++ b/makefu/3modules/snapraid.nix @@ -4,7 +4,7 @@ with import ; 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} -- cgit v1.2.3