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