civodul pushed a commit to branch master
in repository guix.

commit 967dd6ee069af8a0c939431b05cd24c153703fa6
Author: Denis 'GNUtoo' Carikli <[email protected]>
AuthorDate: Sat Jan 22 03:59:16 2022 +0100

    gnu: gtk-vnc: Remove dependency on GJS on non-x86_64.
    
    * gnu/packages/gnome.scm (gtk-vnc)[native-inputs]: Provide GJS
    only when 'target-x86-64?'.
    
    Signed-off-by: Ludovic Courtès <[email protected]>
---
 gnu/packages/gnome.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 41830102f6..d61a412f01 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -68,6 +68,7 @@
 ;;; Copyright © 2022 Daniel Meißner <[email protected]>
 ;;; Copyright © 2022 Pierre Langlois <[email protected]>
 ;;; Copyright © 2022 John Kehayias <[email protected]>
+;;; Copyright © 2022 Denis 'GNUtoo' Carikli <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -8827,7 +8828,11 @@ like switching to windows and launching applications.")
     (arguments
      `(#:glib-or-gtk? #t))   ; To wrap binaries and/or compile schemas
     (native-inputs
-     `(("gjs" ,gjs)
+     `(;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS
+       ;; dependency on other platforms (FIXME).
+       ,@(if (target-x86-64?)
+             `(("gjs" ,gjs))
+             '())
        ("glib:bin" ,glib "bin")
        ("gobject-introspection" ,gobject-introspection)
        ("intltool" ,intltool)

Reply via email to