diff options
Diffstat (limited to 'sigils/packages/hyprland.scm')
-rw-r--r-- | sigils/packages/hyprland.scm | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/sigils/packages/hyprland.scm b/sigils/packages/hyprland.scm index ba239cf..b6879a3 100644 --- a/sigils/packages/hyprland.scm +++ b/sigils/packages/hyprland.scm @@ -36,9 +36,6 @@ (define mesa-opengl (package/inherit mesa - (name "mesa-opengl") - ;; (source (origin - ;; (inherit (package-source mesa)))) (inputs (modify-inputs (package-inputs mesa) (append libglvnd))) (arguments @@ -376,8 +373,19 @@ ability to dynamically change wallpapers through sockets") sdbus-c++-next wayland wayland-protocols-next)) - (arguments (list #:tests? #f ;; No tests - #:build-type "release")) + (arguments + (list #:tests? #f ;; No tests + #:build-type "release" + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'wrap-program + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin/hyprlock")) + (mesa (assoc-ref inputs "mesa"))) + (wrap-program bin + `("__EGL_VENDOR_LIBRARY_DIRS" = + (,(string-append mesa "/share/glvnd/egl_vendor.d")))))))))) (synopsis "GPU-accelerated screen locking utility") (description "Hyprland's multi-threaded and GPU-accelerated screen locking utility.") |