.
This commit is contained in:
parent
de26bd3369
commit
ff87418860
1 changed files with 15 additions and 9 deletions
|
@ -260,14 +260,20 @@ more.")
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases #~(modify-phases %standard-phases
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-before 'configure 'generate-protocols
|
(add-before 'configure 'generate-protocols
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "CC" "gcc")
|
(setenv "CC" "gcc")
|
||||||
(invoke "make" "protocols")))
|
(invoke "make" "protocols")))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "cmake" "--install" ".")))
|
(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))))
|
(delete 'check))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list gcc-13
|
(list gcc-13
|
||||||
|
|
Loading…
Reference in a new issue