mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 07:36:09 -05:00
hyprlock wrapped and working
This commit is contained in:
parent
13038d117b
commit
f2f31f0b50
1 changed files with 10 additions and 1 deletions
|
@ -112,7 +112,16 @@
|
||||||
(base32 "19cg8vj4sgz5pxib9m08af1lilay9bckjhlr6h333s014l7y09sw"))))
|
(base32 "19cg8vj4sgz5pxib9m08af1lilay9bckjhlr6h333s014l7y09sw"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(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
|
(native-inputs
|
||||||
(list gcc-13
|
(list gcc-13
|
||||||
pkg-config
|
pkg-config
|
||||||
|
|
Loading…
Reference in a new issue