efraim pushed a commit to branch rust-team
in repository guix.
commit 0867ffbc622301d755989a3e150111734dfa4418
Author: Efraim Flashner <[email protected]>
AuthorDate: Fri May 5 15:50:11 2023 +0300
gnu: librsvg-for-system: Choose librsvg based on package support.
* gnu/packages/gnome.scm (librsvg-for-system): Adjust the logic to
choose which librsvg based on which version is supported.
---
gnu/packages/gnome.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index bf041e32c6..754bb668ba 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3696,7 +3696,7 @@ diagrams.")
;; Since librsvg 2.50 depends on Rust, and Rust is only correctly supported
;; on x86_64, aarch64 and riscv64 so far, use the ancient C version on other
;; platforms (FIXME).
- (if (string-prefix? "x86_64-" system)
+ (if (supported-package? librsvg)
librsvg
librsvg-2.40))