From 1bfffc007aea291896a43f10114defe673c2bf5d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 23 May 2024 14:04:25 +0300 Subject: [PATCH] gnu: gtk-vnc: Build with gjs on more architectures. * gnu/packages/gnome.scm (gtk-vnc)[native-inputs] Use gjs as an input on architectures where it is supported. Change-Id: I723f53be8e225732572ede81a03d712a946be528 --- gnu/packages/gnome.scm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index a3b9799209..cb0f479a3f 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -9563,11 +9563,10 @@ like switching to windows and launching applications.") `(#:glib-or-gtk? #t)) ; To wrap binaries and/or compile schemas (native-inputs (append - ;; GJS depends on Rust, which is x86_64-only so far, so remove the GJS - ;; dependency on other platforms (FIXME). - (if (target-x86-64?) - (list gjs) - '()) + ;; GJS depends on Rust so remove the GJS dependency on other platforms. + (if (supported-package? gjs) + (list gjs) + '()) (list gettext-minimal `(,glib "bin") gobject-introspection