Subject: [PATCH 6/6] gnu: hyprland: Disable systemd build.

From: Murilo <[email-masked]>
Date: Wed, 29 Jan 2025 10:21:32 -0300

* gnu/packages/wm.scm (hyprland)[arguments]
<#:configure-flags>: Add "-DNO_XWAYLAND=False"; add "-DNO_SYSTEMD=True".
[native-inputs]: Style it.

Change-Id: If8baf005a8a92a7ced20db2e3a631f01b058175b
---
 gnu/packages/wm.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 0d4f7860c6..e6737df867 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -382,7 +382,9 @@ (define-public hyprland
     (arguments
      (list #:cmake cmake-3.30
            #:tests? #f                  ;No tests.
-           #:configure-flags #~'("-DNO_HYPRPM=True")
+           #:configure-flags #~'("-DNO_HYPRPM=True"
+                                 "-DNO_XWAYLAND=False"
+                                 "-DNO_SYSTEMD=True")
            #:phases
            #~(modify-phases %standard-phases
                (add-after 'unpack 'fix-path
@@ -407,9 +409,9 @@ (define-public hyprland
     (native-inputs
      (list gcc-14
            hyprwayland-scanner
-           (module-ref (resolve-interface
-                  '(gnu packages commencement))
-                 'ld-wrapper)
+           (module-ref
+             (resolve-interface '(gnu packages commencement))
+             'ld-wrapper)
            pkg-config))
     (inputs
      (list aquamarine
-- 
2.48.1