aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-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)