From f0a31d38e6de48970ce1fe93e6ea343e20a9c80a Mon Sep 17 00:00:00 2001 From: Matthieu Coudron <886074+teto@users.noreply.github.com> Date: Tue, 11 Feb 2025 19:33:45 +0100 Subject: [PATCH] neomutt: fix default for 'map' in macros/binds (#6429) https://github.com/nix-community/home-manager/pull/1885 changed 'map' from a string to a list of string but the default wasn't updated accordingly. When not defining map, you would get the warning `evaluation warning: teto profile: Specifying 'programs.neomutt.(binds|macros).map' as a string is deprecated, use a list of strings instead. See `. --- modules/programs/neomutt.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/neomutt.nix b/modules/programs/neomutt.nix index b513939df..13ee897f1 100644 --- a/modules/programs/neomutt.nix +++ b/modules/programs/neomutt.nix @@ -123,7 +123,7 @@ let "smime" ]; in with types; either (enum menus) (listOf (enum menus)); - default = "index"; + default = [ "index" ]; description = "Select the menu to bind the command to."; };