diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-04-25 13:48:17 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-04-25 14:06:14 +0300 |
commit | 0daa747de24a9739b32a13e0c55ae2bfe4666bf1 (patch) | |
tree | 2beeb54b512bbf2dcefc03618d9d7b0e7d4a67b7 /gnu/packages/terminals.scm | |
parent | 95787ffaa2e61ba76a4bbcdf13592c330bd9218b (diff) | |
download | guix-0daa747de24a9739b32a13e0c55ae2bfe4666bf1.tar.gz |
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.
Diffstat (limited to 'gnu/packages/terminals.scm')
-rw-r--r-- | gnu/packages/terminals.scm | 5 |
1 files changed, 5 insertions, 0 deletions
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 |