From 1ee8b4e42c1d33e800f67afd6611eed762bf1162 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Wed, 2 Apr 2025 22:00:17 +0200 Subject: [PATCH] public-inbox: fix to support the current nixpkgs --- nixos/modules/services/mail/public-inbox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/mail/public-inbox.nix b/nixos/modules/services/mail/public-inbox.nix index 385de9d..94a4a98 100644 --- a/nixos/modules/services/mail/public-inbox.nix +++ b/nixos/modules/services/mail/public-inbox.nix @@ -12,7 +12,7 @@ let stateDir = "/var/lib/public-inbox"; gitIni = pkgs.formats.gitIni { listsAsDuplicateKeys = true; }; - iniAtom = gitIni.lib.types.atom; + iniAtom = elemAt gitIni.type/*attrsOf*/.functor.wrapped/*attrsOf*/.functor.wrapped/*either*/.functor.wrapped 0; useSpamAssassin = cfg.settings.publicinboxmda.spamcheck == "spamc" -- 2.47.2