From 0471c01103e163fb3fbfa114200928e6ffaa2693 Mon Sep 17 00:00:00 2001 From: Marek Paśnikowski Date: Tue, 7 Mar 2023 17:46:55 +0100 Subject: Implement Git Send Email This commit enables the Send Email functionality of Git in order to easily post patches to mailing lists. A Git configuration file constructor is prepared in order to compose its content from multiple Org blocks. The needed packages are declared in a service, and the initial sendemail configuration is defined. As a result, it is now possible to post patches directly from Git. --- home-configuration.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'home-configuration.scm') diff --git a/home-configuration.scm b/home-configuration.scm index 09c38a9..34c2c55 100644 --- a/home-configuration.scm +++ b/home-configuration.scm @@ -122,6 +122,21 @@ '("flashrom")))))) (description "Flashrom installation.") (default-value #f))) + (service + (service-type + (name 'git-sendemail-packages) + (extensions + (list + (service-extension home-profile-service-type + (lambda (_) + (map + (compose list + specification->package+output) + (list + "git" + "git:send-email")))))) + (description "Git Send Email") + (default-value #f))) (service (service-type (name 'org-fc-tn-package) -- cgit v1.2.3