guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

472/475: gnu: librsvg-for-system: Choose librsvg based on package suppor


From: guix-commits
Subject: 472/475: gnu: librsvg-for-system: Choose librsvg based on package support.
Date: Sun, 7 May 2023 12:48:51 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 0867ffbc622301d755989a3e150111734dfa4418
Author: Efraim Flashner <efraim@flashner.co.il>
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))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]