From 0867ffbc622301d755989a3e150111734dfa4418 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 5 May 2023 15:50:11 +0300 Subject: 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)) -- cgit v1.2.3