mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: guile-commonmark: Fix build with Guile 3.0.5.
* gnu/packages/guile-xyz.scm (guile-commonmark)[arguments]: Add phase to fix tests when building with Guile 3.0.5.
This commit is contained in:
parent
ef4b4b62a8
commit
0e4f49f169
1 changed files with 13 additions and 0 deletions
|
@ -2506,6 +2506,19 @@ (define-public guile-commonmark
|
|||
"3.0 2.2 2.0"))
|
||||
#t))))
|
||||
(build-system gnu-build-system)
|
||||
;; The tests throw exceptions with Guile 3.0.5, because they evaluate
|
||||
;; (exit ...).
|
||||
;;
|
||||
;; This has been fixed upstream, but there has not been a new release
|
||||
;; containing this change.
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-tests-when-building-with-guile-3.0.5
|
||||
(lambda _
|
||||
(substitute* (find-files "tests" "\\.scm$")
|
||||
(("\\(exit.*") ""))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("guile" ,guile-3.0)))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue