From 967dd6ee069af8a0c939431b05cd24c153703fa6 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sat, 22 Jan 2022 03:59:16 +0100 Subject: [PATCH] gnu: gtk-vnc: Remove dependency on GJS on non-x86_64. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/gnome.scm (gtk-vnc)[native-inputs]: Provide GJS only when 'target-x86-64?'. Signed-off-by: Ludovic Courtès --- 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 ;;; Copyright © 2022 Pierre Langlois ;;; Copyright © 2022 John Kehayias +;;; Copyright © 2022 Denis 'GNUtoo' Carikli ;;; ;;; This file is part of GNU Guix. ;;; @@ -8827,7 +8828,11 @@ (define-public gtk-vnc (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)