aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-30 17:51:32 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-07-30 17:52:38 +0800
commitd8217355f2691a92a3c64fea939827a314952a77 (patch)
treea3e509962d8d78ec0ddebaa66fa8caae77fe59af
parent83cb01c6666d277195a5801fa07d85c668742c41 (diff)
downloadguix-d8217355f2691a92a3c64fea939827a314952a77.tar.gz
guix-d8217355f2691a92a3c64fea939827a314952a77.zip
gnu: wayvnc: Fix cross-compiling.
* gnu/packages/vnc.scm (wayvnc)[native-inputs]: When cross-compiling, add wayland. Change-Id: Iebe8bb1959c7df80b98c49913e2aa3348bae679a
-rw-r--r--gnu/packages/vnc.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/vnc.scm b/gnu/packages/vnc.scm
index e26d8a3e35..f369e3bf40 100644
--- a/gnu/packages/vnc.scm
+++ b/gnu/packages/vnc.scm
@@ -695,7 +695,12 @@ authentication, SSH tunneling, and ZRLE or Tight encoding.")
(sha256
(base32 "1k02i70v8niqvadzfrki8q6wiymcfdqanc9zlmzdslw2bpdhqq90"))))
(build-system meson-build-system)
- (native-inputs (list pkg-config scdoc))
+ (native-inputs
+ (append (if (%current-target-system)
+ ;; for wayland-scanner
+ (list wayland)
+ '())
+ (list pkg-config scdoc)))
(inputs (list aml
neatvnc
zlib