diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-01-15 09:54:08 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-01-15 12:05:21 +0100 |
commit | 74a8b2cca1f522b8230bd7e8533bdebb011d0d2e (patch) | |
tree | cf7291527591259ed88da8f0b5398ede8e7dd00e /gnu | |
parent | 6aa4f09eb6b94ef582fcea0d42dfdd2b0146d07b (diff) | |
download | patches-74a8b2cca1f522b8230bd7e8533bdebb011d0d2e.tar patches-74a8b2cca1f522b8230bd7e8533bdebb011d0d2e.tar.gz |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/guile.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index b0ebc0aea8..da4d006a6d 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))) |