diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-07-11 09:56:01 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-07-11 09:56:08 +0300 |
commit | 34e549d813113fc57213202fd5e4b885d95d0913 (patch) | |
tree | 2f67871c7c4edc27f3e4c73302640db324ea2e92 /gnu | |
parent | 78ca483a0773d0c14f1b6cd972dd85d16327ced8 (diff) | |
download | guix-patches-34e549d813113fc57213202fd5e4b885d95d0913.tar guix-patches-34e549d813113fc57213202fd5e4b885d95d0913.tar.gz |
gnu: msmtp: Install additional files.
* gnu/packages/mail.scm (msmtp)[arguments]: Rename custom phase
install-msmtpq to install-additional-files. Install vim plugins.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/mail.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 6ab0f9358e..51f881f8eb 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1173,15 +1173,17 @@ which can add many functionalities to the base client.") "--with-tls=gnutls") #:phases (modify-phases %standard-phases - (add-after 'install 'install-msmtpq + (add-after 'install 'install-additional-files (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (bin (string-append out "/bin")) (doc (string-append out "/share/doc/msmtp")) - (msmtpq (string-append "scripts/msmtpq"))) + (msmtpq "scripts/msmtpq") + (vimfiles (string-append out "/share/vim/vimfiles/plugin"))) (install-file (string-append msmtpq "/msmtpq") bin) (install-file (string-append msmtpq "/msmtp-queue") bin) (install-file (string-append msmtpq "/README.msmtpq") doc) + (install-file "scripts/vim/msmtp.vim" vimfiles) #t)))))) (synopsis "Simple and easy to use SMTP client with decent sendmail compatibility") |