summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSisiutl <sisiutl@egregore.fun>2024-11-06 21:46:44 +0100
committerSisiutl <sisiutl@egregore.fun>2024-11-06 21:46:44 +0100
commit2401d134822ce3440d207f6401a56956e1f1e4f4 (patch)
tree0174753a40b2f2d77ca46b98850ee655e36a9055
parentf71cc5d8460aa5ccb882af8051a0b999bd9d09f0 (diff)
hyprland xwayland
-rw-r--r--sigils/packages/hyprland.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/sigils/packages/hyprland.scm b/sigils/packages/hyprland.scm
index 30de71f..d448a08 100644
--- a/sigils/packages/hyprland.scm
+++ b/sigils/packages/hyprland.scm
@@ -270,7 +270,12 @@ replacement for XCursor.")
(build-system meson-build-system)
(arguments (list #:meson meson-1.5
#:configure-flags '(list "-Dxwayland=enabled"
- "-Dsystemd=disabled")))
+ "-Dsystemd=disabled")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-xwayland
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/xwayland/Server.cpp"
+ (("Xwayland \\{\\}") #$(file-append xorg-server-xwayland "/bin/Xwayland"))))))))
(native-inputs (list gcc-14 ;; TODO: remove this when GCC 14 is the default
pkg-config
cmake-minimal
@@ -291,6 +296,7 @@ replacement for XCursor.")
libinput-next
udis86
tomlplusplus
+ xorg-server-xwayland
;; X support
libxcb
xcb-util-errors