From 3bd7ce60530ad363e235f458ecbe2bcc9454242a Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 5 Dec 2021 22:35:58 +0100 Subject: 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(-) (limited to 'gnu') diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index e524949660..244a2e665c 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -288,13 +288,7 @@ (define* (emacs-byte-compile-directory dir) ;; 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) -- cgit v1.2.3