hyprlock wrapped and working

This commit is contained in:
Ryan Schanzenbacher 2024-07-29 00:17:12 -04:00
parent 13038d117b
commit f2f31f0b50
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E

View file

@ -112,7 +112,16 @@
(base32 "19cg8vj4sgz5pxib9m08af1lilay9bckjhlr6h333s014l7y09sw"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f))
(list
#:tests? #f
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'wrap-program
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(mesa (assoc-ref inputs "mesa")))
(wrap-program (string-append out "/bin/hyprlock")
`("__EGL_VENDOR_LIBRARY_DIRS" prefix ,(list (string-append mesa "/share/glvnd/egl_vendor.d"))))))))))
(native-inputs
(list gcc-13
pkg-config