aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/guile-xyz.scm
diff options
context:
space:
mode:
authorDanny Milosavljevic <dannym@scratchpost.org>2021-02-11 19:12:36 +0100
committerDanny Milosavljevic <dannym@scratchpost.org>2021-02-11 19:12:36 +0100
commitabd318ff4b741eac11227778bf2e569ee7b186ff (patch)
tree6abc09a3e01914d891124e9d0dda0f4e0979c485 /gnu/packages/guile-xyz.scm
parent71cb6dfe10540718eb337e7e2248fc809394894b (diff)
parentc5dc87fee840ad620b01637dc4f9ffa5efc9270c (diff)
downloadguix-abd318ff4b741eac11227778bf2e569ee7b186ff.tar.gz
guix-abd318ff4b741eac11227778bf2e569ee7b186ff.zip
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/guile-xyz.scm')
-rw-r--r--gnu/packages/guile-xyz.scm22
1 files changed, 20 insertions, 2 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 8dbed87c3f..ccdf99ffa8 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2399,7 +2399,9 @@ inspired by the SCSH regular expression system.")
`(("pkg-config" ,pkg-config)
("texinfo" ,texinfo)))
(inputs
- `(("guile" ,guile-3.0)))
+ ;; Depend on the latest Guile to avoid bytecode compatibility issues when
+ ;; using modules built against the latest version.
+ `(("guile" ,guile-3.0-latest)))
(propagated-inputs
`(("guile-reader" ,guile-reader)
("guile-commonmark" ,guile-commonmark)))
@@ -2504,6 +2506,19 @@ key-value cache and store.")
"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
@@ -2626,7 +2641,10 @@ The picture values can directly be displayed in Geiser.")
(package
(inherit guile-picture-language)
(name "guile2.2-picture-language")
- (inputs `(("guile" ,guile-2.2)))))
+ (inputs `(("guile" ,guile-2.2)))
+ (propagated-inputs
+ `(("guile-cairo" ,guile2.2-cairo)
+ ("guile-rsvg" ,guile2.2-rsvg)))))
(define-public guile3.0-picture-language
(deprecated-package "guile3.0-picture-language"