From ff87418860731c497b049fe9e1ab5f93ebd1e10f Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Wed, 3 Apr 2024 17:18:49 +0200 Subject: [PATCH] . --- zilti/packages/hyprland.scm | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/zilti/packages/hyprland.scm b/zilti/packages/hyprland.scm index 3967e41..63f3f60 100644 --- a/zilti/packages/hyprland.scm +++ b/zilti/packages/hyprland.scm @@ -260,15 +260,21 @@ more.") (build-system cmake-build-system) (arguments (list - #:phases #~(modify-phases %standard-phases - (add-before 'configure 'generate-protocols - (lambda _ - (setenv "CC" "gcc") - (invoke "make" "protocols"))) - (replace 'install - (lambda _ - (invoke "cmake" "--install" "."))) - (delete 'check)))) + #:phases + #~(modify-phases %standard-phases + (add-before 'configure 'generate-protocols + (lambda _ + (setenv "CC" "gcc") + (invoke "make" "protocols"))) + (replace 'install + (lambda _ + (let* ((output (assoc-ref %outputs "out")) + (out-bin (string-append output "/bin"))) + (use-modules (guix build utils)) + (invoke "ls") + (install-file "./hyprpaper" + out-bin)))) + (delete 'check)))) (native-inputs (list gcc-13 pkg-config))