3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: guile-email: Add phase to patch the module directory.

Otherwise the .go files appear within share, and Guile doesn't find them. With
this patch they appear in lib within the output. One thing this means is that
stack traces include the filenames.

* gnu/packages/guile-xyz.scm (guile-email)[arguments]: Add 'patch-module-dir
phase.
This commit is contained in:
Christopher Baines 2019-09-15 13:31:41 +01:00
parent 660dbe6564
commit c219104c78
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -926,7 +926,16 @@ tracker's SOAP service, such as @url{https://bugs.gnu.org}.")
(inputs
`(("guile" ,guile-2.2)))
(arguments
'(#:make-flags '("GUILE_AUTO_COMPILE=0"))) ; to prevent guild warnings
'(#:make-flags '("GUILE_AUTO_COMPILE=0") ; to prevent guild warnings
#:phases
(modify-phases %standard-phases
(add-before 'configure 'patch-module-dir
(lambda _
(substitute* "Makefile.in"
(("^godir = ([[:graph:]]+)")
"godir = \
$(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
#t)))))
(home-page "https://guile-email.systemreboot.net")
(synopsis "Guile email parser")
(description "guile-email is a collection of email utilities implemented