Subject: [PATCH] gnu: json-glib: Fix cross-compiling.

From: Brian Kubisiak <[email-masked]>
Date: Wed, 2 Apr 2025 17:59:58 -0700

* gnu/packages/gnome.scm (json-glib)[native-inputs]: Add
python-docutils when cross-compiling.

Change-Id: Ic8968709b4e0a858a110167b01ddb046a16e4abe
---
 gnu/packages/gnome.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 46e360067f..59c923d433 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -4946,8 +4946,9 @@ (define-public json-glib
                                           "/share/doc"))))))))))
     (native-inputs
      (if (%current-target-system)
-         ;; No docs, no additional inputs.
-         (package-native-inputs json-glib-minimal)
+         ;; No docs, but rst2man is used for man pages.
+         (modify-inputs (package-native-inputs json-glib-minimal)
+           (prepend python-docutils))
          (modify-inputs (package-native-inputs json-glib-minimal)
            (prepend gi-docgen gobject-introspection
                     python-docutils))))))

base-commit: 9647cbbe86151ed326de161af45ec9d2cba1f717
-- 
2.49.0