civodul pushed a commit to branch core-updates-frozen
in repository guix.

commit 3bd7ce60530ad363e235f458ecbe2bcc9454242a
Author: Ludovic Courtès <[email protected]>
AuthorDate: Sun Dec 5 22:35:58 2021 +0100

    gnu: emacs: Use 'librsvg-for-system'.
    
    * gnu/packages/emacs.scm (emacs)[inputs]: Use 'librsvg-for-system'
    unconditionally.
---
 gnu/packages/emacs.scm | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index e524949..244a2e6 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -288,13 +288,7 @@
        ;; must also provide zlib as an input.
        ("libpng" ,libpng)
        ("zlib" ,zlib)
-
-       ;; librsvg is an optional dependency that pulls in rust.  Rust is not
-       ;; supported well on every architecture yet.
-       ,@(if (string-prefix? "x86_64" (or (%current-target-system)
-                                          (%current-system)))
-             `(("librsvg" ,librsvg))
-             '())
+       ("librsvg" ,(librsvg-for-system))
        ("libxpm" ,libxpm)
        ("libxml2" ,libxml2)
        ("libice" ,libice)

Reply via email to