gnu: gnome: Include aarch64 in librsvg-for-system.
authorChristopher Baines <mail@cbaines.net>
Thu, 13 Oct 2022 10:19:10 +0000 (11:19 +0100)
committerChristopher Baines <mail@cbaines.net>
Thu, 3 Nov 2022 16:39:45 +0000 (17:39 +0100)
As the current librsvg currently builds for aarch64-linux as well as
x86_64-linux.

* gnu/packages/gnome.scm (librsvg-for-system): Use librsvg for aarch64.

gnu/packages/gnome.scm

index 40c1379..1246ac2 100644 (file)
@@ -3753,8 +3753,10 @@ diagrams.")
                              (system (or (%current-target-system)
                                          (%current-system))))
   ;; Since librsvg 2.50 depends on Rust, and Rust is only correctly supported
-  ;; on x86_64 so far, use the ancient C version on other platforms (FIXME).
-  (if (string-prefix? "x86_64-" system)
+  ;; on x86_64 and aarch64 so far, use the ancient C version on other
+  ;; platforms (FIXME).
+  (if (or (string-prefix? "x86_64-" system)
+          (string-prefix? "aarch64-" system))
       librsvg
       librsvg-2.40))