From c84617c9725fa01f310fcb3966b3b8b3707245a7 Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 24 Sep 2023 14:00:58 -0700 Subject: [PATCH] filter -> filterAttrs --- dovecot.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dovecot.nix b/dovecot.nix index d4df784..ee53696 100644 --- a/dovecot.nix +++ b/dovecot.nix @@ -6,7 +6,7 @@ let sievePath = let isRegularFile = _: type: type == "regular"; - sieves = filter isRegularFile (builtins.readDir ./sieves); + sieves = filterAttrs isRegularFile (builtins.readDir ./sieves); headOrNull = lst: if lst == [ ] then null else head lst; stripExt = ext: filename: headOrNull (match "(.+)[.]${ext}$" filename); compileFile = filename: