{ lib, nix-gitignore, emacsPackages }: let inherit (emacsPackages) trivialBuild; flakeRoot = toString ../.; in lib.recurseIntoAttrs rec { git-email-full = trivialBuild rec { pname = "git-email-full"; version = "git"; src = nix-gitignore.gitignoreSource (flakeRoot + ".gitignore") ./.; packageRequires = with emacsPackages; [ magit transient notmuch ]; }; git-email = trivialBuild rec { pname = "git-email"; version = "git"; src = builtins.filterSource (path: type: baseNameOf path != "git-email-magit.el" && baseNameOf path != "git-email-notmuch.el" && baseNameOf path != "git-email-gnus.el" ) ./.; }; }