guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: guile-commonmark: Install .scm files in the right place.


From: guix-commits
Subject: 01/03: gnu: guile-commonmark: Install .scm files in the right place.
Date: Tue, 15 Jan 2019 06:06:24 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 74a8b2cca1f522b8230bd7e8533bdebb011d0d2e
Author: Ludovic Courtès <address@hidden>
Date:   Tue Jan 15 09:54:08 2019 +0100

    gnu: guile-commonmark: Install .scm files in the right place.
    
    Previously they'd be installed in PREFIX/share/share/guile/site.
    
    * gnu/packages/guile.scm (guile-commonmark)[modules, snippet]: New
    fields.
---
 gnu/packages/guile.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index b0ebc0a..da4d006 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -1637,7 +1637,16 @@ you send to a FIFO file.")
                                   "/" name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0kzclwkfijj8xka3g9kfj53y67c34ndfy84swdbw3j7y962ndxq6"))))
+                "0kzclwkfijj8xka3g9kfj53y67c34ndfy84swdbw3j7y962ndxq6"))
+              (modules '((guix build utils)))
+              (snippet
+               ;; Install .scm files in the right place (see
+               ;; <https://github.com/OrangeShark/guile-commonmark/issues/12>.)
+               '(begin
+                  (substitute* "Makefile.in"
+                    (("^moddir = \\$\\(datadir\\)/share")
+                     "moddir = $(datadir)"))
+                  #t))))
     (build-system gnu-build-system)
     (inputs
      `(("guile" ,guile-2.2)))



reply via email to

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