aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-12-21 21:22:02 +0100
committerLudovic Courtès <ludo@gnu.org>2019-12-21 23:55:24 +0100
commit18e4d11bdf3d8061dd5eec9681174b8960ed8cdb (patch)
treefda55f8ff505d1ac97cb8caff7c9951a27a071ac /gnu/packages/mail.scm
parent1214684bbd0770ee2e6e3f72c1cd76991c82b6c0 (diff)
downloadpatches-18e4d11bdf3d8061dd5eec9681174b8960ed8cdb.tar
patches-18e4d11bdf3d8061dd5eec9681174b8960ed8cdb.tar.gz
gnu: mumi: Install .go files in the right place.
* gnu/packages/mail.scm (mumi)[source](modules, snippet): New fields.
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 0404f46a49..de57748b33 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2949,7 +2949,17 @@ replacement for the @code{urlview} program.")
(file-name (git-file-name name version))
(sha256
(base32
- "1575gn5p086sjxz5hvg6iyskq6cxf6vf50s9nsc4xgrbcqa3pv2c"))))
+ "1575gn5p086sjxz5hvg6iyskq6cxf6vf50s9nsc4xgrbcqa3pv2c"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; Install .go files to $prefix/lib instead of
+ ;; $prefix/share.
+ (substitute* "Makefile.am"
+ (("^godir[[:space:]]*=.*")
+ "godir = \
+$(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
+ #t))))
(build-system gnu-build-system)
(arguments
`(#:modules ((guix build gnu-build-system)