This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 6beadc82df gnu: wayland-protocols: Fix cross-compilation
6beadc82df is described below

commit 6beadc82df204f315d06ea35f2e232bb32f8e440
Author: Tobias Kortkamp <[email protected]>
AuthorDate: Fri Aug 26 12:14:58 2022 +0200

    gnu: wayland-protocols: Fix cross-compilation
    
    * gnu/packages/freedesktop.scm (wayland-protocols): Fix cross-compilation
    [native-inputs]: Add pkg-config-for-build and wayland.
    
    Signed-off-by: Mathieu Othacehe <[email protected]>
---
 gnu/packages/freedesktop.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index a902fac153..d9f48b791a 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1074,8 +1074,11 @@ fullscreen) or other display servers.")
     (build-system meson-build-system)
     (inputs
      (list wayland))
-    (native-inputs
-     (list pkg-config python))
+    (native-inputs (cons* pkg-config python
+                          (if (%current-target-system)
+                              (list pkg-config-for-build
+                                    wayland) ; for wayland-scanner
+                              '())))
     (synopsis "Wayland protocols")
     (description "Wayland-Protocols contains Wayland protocols that add
 functionality not available in the Wayland core protocol.  Such protocols 
either

Reply via email to