guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/10: gnu: mumi: Install .go files in the right place.


From: guix-commits
Subject: 03/10: gnu: mumi: Install .go files in the right place.
Date: Sat, 21 Dec 2019 17:55:50 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 18e4d11bdf3d8061dd5eec9681174b8960ed8cdb
Author: Ludovic Courtès <address@hidden>
Date:   Sat Dec 21 21:22:02 2019 +0100

    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(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 0404f46..de57748 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]