From 0b4b22b6d363d0dd0bdaee65e47bda5cac72475c Mon Sep 17 00:00:00 2001 From: John Kehayias Date: Sat, 4 Jan 2025 05:26:09 +0000 Subject: [PATCH] gnu: hyprland: Add hyprland-qtutils to inputs. Hyprland will warn and suggest on running that it expects to find binaries from hyprland-qtutils. * gnu/packages/wm.scm (hyprland)[inputs]: Add hyprland-qtutils. [arguments]<#:phases>: Update fix-path phase. Change-Id: I54a2331181636b7aad9abdf7dfef9e1ac9c9fc3c Co-authored-by: Hilton Chain Change-Id: I5ead782b0c981013f6b2cc0a9aac6102317fe285 --- gnu/packages/wm.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index c44e67d9754f5197fcc14eab5bbe336141a6f09f..b6c59010a86d9b35fdede691f9631ff0a987ae93 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -169,6 +169,7 @@ #:use-module (gnu packages python-build) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages qt) #:use-module (gnu packages readline) #:use-module (gnu packages regex) #:use-module (gnu packages serialization) @@ -363,7 +364,12 @@ or musca). (("/usr") #$output) (("\\<(addr2line|cat|lspci|nm)\\>" cmd) (search-input-file - inputs (string-append "bin/" cmd))))))))) + inputs (string-append "bin/" cmd)))) + (substitute* '("src/Compositor.cpp" + "src/managers/VersionKeeperManager.cpp") + (("!executableExistsInPath.*\".") "false") + (("hyprland-update-screen" cmd) + (search-input-file inputs (in-vicinity "bin" cmd))))))))) (native-inputs (list gcc-14 hyprwayland-scanner @@ -378,6 +384,7 @@ or musca). hyprcursor hyprgraphics hyprland-protocols + hyprland-qtutils hyprlang hyprutils libinput-minimal