diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-15 13:08:18 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-15 13:08:18 +0300 |
commit | d7c5456a394563b953518c7248745d0db9bcfc6c (patch) | |
tree | 2a3265f89f46b49ae7efc3168ccbef64fe5c3394 /gnu/packages | |
parent | 76b706c71ce1e1c2a140856a80cdd60bd8d4b0fd (diff) | |
download | guix-d7c5456a394563b953518c7248745d0db9bcfc6c.tar.gz guix-d7c5456a394563b953518c7248745d0db9bcfc6c.zip |
gnu: sway: Fix cross-compiling.
* gnu/packages/wm.scm (sway)[native-inputs]: When cross-compiling add
pkg-config-for-build, wayland.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/wm.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index cdc8b57030..477d7bb8c8 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -1723,7 +1723,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.") |