diff --git a/modules/home/emacs.nix b/modules/home/emacs.nix index 5b54cf6..3836680 100644 --- a/modules/home/emacs.nix +++ b/modules/home/emacs.nix @@ -56,7 +56,12 @@ in { Extra arguments to pass to the final wrapProgram call. ''; default = []; - type = lib.types.listOf lib.types.str; + type = with lib.types; + listOf + (coercedTo + (oneOf [str package]) + builtins.toString + str); apply = lib.escapeShellArgs; }; };