From 18e4d11bdf3d8061dd5eec9681174b8960ed8cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sat, 21 Dec 2019 21:22:02 +0100 Subject: gnu: mumi: Install .go files in the right place. * gnu/packages/mail.scm (mumi)[source](modules, snippet): New fields. --- gnu/packages/mail.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'gnu') 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) -- cgit v1.2.3