From 5760de7b7755a7b9efc917005c1da751159be7e2 Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Mon, 11 Dec 2023 19:19:06 +0100 Subject: [PATCH] . --- home/emacs/init.el | 3 +++ home/home-configuration.scm | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/home/emacs/init.el b/home/emacs/init.el index 740b30b..40bb58b 100644 --- a/home/emacs/init.el +++ b/home/emacs/init.el @@ -59,6 +59,9 @@ ;; See: https://github.com/radian-software/el-patch (use-package el-patch) +;;;;; Guix Management +(use-package guix) + ;;;; Helper Functions (cl-defun conditional-keybind (filter-fn target-fn diff --git a/home/home-configuration.scm b/home/home-configuration.scm index 8532fa9..176c178 100644 --- a/home/home-configuration.scm +++ b/home/home-configuration.scm @@ -135,8 +135,8 @@ ("l" . "ls -alh") ("ll" . "ls -l") ("ls" . "ls --color=tty") - ("create-guix-patch" . "git format-patch --to guix-patches@gnu.org --cc dziltener@lyrion.ch --inline --no-attach --stdout master") - ("send-create-guix-patch" . "git format-patch --to guix-patches@gnu.org --cc dziltener@lyrion.ch --inline --no-attach --stdout master | tail -n +2 | msmtp -t"))) + ("create-guix-patch" . "git format-patch --minimal --to guix-patches@gnu.org --cc dziltener@lyrion.ch --inline --no-attach master; ls *.patch | xargs sed -i '1d'") + ("send-guix-patch-series" . "for FILE in $(ls *.patch); do cat $FILE | msmtp -t; done"))) (bashrc (list (local-file