summaryrefslogtreecommitdiff
path: root/gnu/packages/emacs.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2021-12-05 22:35:58 +0100
committerLudovic Courtès <ludo@gnu.org>2021-12-05 22:42:26 +0100
commit3bd7ce60530ad363e235f458ecbe2bcc9454242a (patch)
tree9f4ed91e8ba3d8dd55adf73b0c45148384f2768a /gnu/packages/emacs.scm
parentc789d00b5f2e71d218107686972d8b99fbc5501f (diff)
gnu: emacs: Use 'librsvg-for-system'.
* gnu/packages/emacs.scm (emacs)[inputs]: Use 'librsvg-for-system' unconditionally.
Diffstat (limited to 'gnu/packages/emacs.scm')
-rw-r--r--gnu/packages/emacs.scm8
1 files changed, 1 insertions, 7 deletions
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 @@
;; 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)