This commit is contained in:
Daniel Ziltener 2024-04-03 17:18:49 +02:00
parent de26bd3369
commit ff87418860
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -260,15 +260,21 @@ more.")
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list (list
#:phases #~(modify-phases %standard-phases #:phases
(add-before 'configure 'generate-protocols #~(modify-phases %standard-phases
(lambda _ (add-before 'configure 'generate-protocols
(setenv "CC" "gcc") (lambda _
(invoke "make" "protocols"))) (setenv "CC" "gcc")
(replace 'install (invoke "make" "protocols")))
(lambda _ (replace 'install
(invoke "cmake" "--install" "."))) (lambda _
(delete 'check)))) (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 (native-inputs
(list gcc-13 (list gcc-13
pkg-config)) pkg-config))