mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: guile-commonmark: Remove hard-coded "/2.0" in installation directories.
* gnu/packages/guile.scm (guile-commonmark)[source]: Add 'snippet' and 'modules'.
This commit is contained in:
parent
ffc72ec6df
commit
757ce0f99d
1 changed files with 12 additions and 1 deletions
|
@ -1206,7 +1206,18 @@ (define-public guile-commonmark
|
|||
"/" name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"12cb5fqvvgc87f5xp0ih5az305wnjia89l5jba83d0r2p8bfy0b0"))))
|
||||
"12cb5fqvvgc87f5xp0ih5az305wnjia89l5jba83d0r2p8bfy0b0"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
;; Use the real effective version of Guile in directory names
|
||||
;; instead of a hard-coded "/2.0".
|
||||
'(begin
|
||||
(substitute* "configure"
|
||||
(("ac_subst_vars='")
|
||||
"ac_subst_vars='GUILE_EFFECTIVE_VERSION\n"))
|
||||
(substitute* "Makefile.in"
|
||||
(("/site/2.0")
|
||||
"/site/@GUILE_EFFECTIVE_VERSION@"))))))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(("guile" ,guile-2.0)))
|
||||
|
|
Loading…
Reference in a new issue