[bug#77475] gnu: json-glib: Fix cross-compiling.

Message ID bac9d9230d1e1269f71048b05aca4da9b8342655.1743641946.git.brian@kubisiak.com
State New
Headers
Series [bug#77475] gnu: json-glib: Fix cross-compiling. |

Commit Message

Brian Kubisiak April 3, 2025, 12:59 a.m. UTC
  * 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(-)


base-commit: 9647cbbe86151ed326de161af45ec9d2cba1f717
  

Patch

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))))))