guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: alacritty: Patch reference to xdg-open.


From: guix-commits
Subject: branch master updated: gnu: alacritty: Patch reference to xdg-open.
Date: Tue, 25 Apr 2023 07:08:23 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0daa747de2 gnu: alacritty: Patch reference to xdg-open.
0daa747de2 is described below

commit 0daa747de24a9739b32a13e0c55ae2bfe4666bf1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Apr 25 13:48:17 2023 +0300

    gnu: alacritty: Patch reference to xdg-open.
    
    * gnu/packages/terminals.scm (alacritty)[arguments]: Add a phase to add
    an absolute reference to xdg-open.
    [inputs]: Add xdg-utils.
---
 gnu/packages/terminals.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index ef9f16bce5..de8ea39473 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1450,6 +1450,10 @@ basic input/output.")
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (substitute* "alacritty_terminal/Cargo.toml"
                (("0.22.0") "^0.23.0"))))
+         (add-after 'unpack 'patch-xdg-open
+           (lambda* (#:key inputs #:allow-other-keys)
+             (substitute* "alacritty/src/config/ui_config.rs"
+               (("xdg-open") (search-input-file inputs "/bin/xdg-open")))))
          (add-after 'configure 'add-absolute-library-references
            (lambda* (#:key inputs cargo-inputs vendor-dir #:allow-other-keys)
              (let* ((glutin-name ,(package-name rust-glutin-0.26))
@@ -1547,6 +1551,7 @@ basic input/output.")
        ("rust-unicode-width" ,rust-unicode-width-0.1)
        ("rust-wayland-client" ,rust-wayland-client-0.28)
        ("rust-winapi" ,rust-winapi-0.3)
+       ("xdg-utils" ,xdg-utils)
        ("wayland" ,wayland)))
     (native-search-paths
      ;; FIXME: This should only be located in 'ncurses'.  Nonetheless it is



reply via email to

[Prev in Thread] Current Thread [Next in Thread]