guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/13: gnu: sway: Fix cross-compiling.


From: guix-commits
Subject: 07/13: gnu: sway: Fix cross-compiling.
Date: Mon, 16 Oct 2023 05:39:58 -0400 (EDT)

efraim pushed a commit to branch core-updates
in repository guix.

commit cec4be19b63cffa44fd4d1c6d9611b0ff58e83ec
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 15 13:08:18 2023 +0300

    gnu: sway: Fix cross-compiling.
    
    * gnu/packages/wm.scm (sway)[native-inputs]: When cross-compiling add
    pkg-config-for-build, wayland.
---
 gnu/packages/wm.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index ba7bd9d316..a27f985f04 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1722,7 +1722,11 @@ modules for building a Wayland compositor.")
                   wayland
                   wlroots))
     (native-inputs
-     (list linux-pam mesa pkg-config scdoc wayland-protocols))
+     (cons* linux-pam mesa pkg-config scdoc wayland-protocols
+            (if (%current-target-system)
+              (list pkg-config-for-build
+                    wayland)
+              '())))
     (home-page "https://github.com/swaywm/sway";)
     (synopsis "Wayland compositor compatible with i3")
     (description "Sway is a i3-compatible Wayland compositor.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]