From 41f41c0f220c435518c87ff6e28e45a00b23da6f Mon Sep 17 00:00:00 2001 From: SeerLite via Guix-patches via Date: Fri, 21 Jan 2022 19:44:17 -0300 Subject: gnu: alacritty: Fix failing build. * gnu/packages/crates-io.scm (rust-alacritty-terminal)[inputs]: Update rust-nix. * gnu/packages/terminals.scm (alacritty)[arguments]: Add phase 'use-new-nix. Signed-off-by: Oleg Pykhalov --- gnu/packages/terminals.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu/packages/terminals.scm') diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index e9e84d2e1f..88923d5058 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1430,6 +1430,10 @@ basic input/output.") ("rust-xdg" ,rust-xdg-2)) #:phases (modify-phases %standard-phases + (add-after 'unpack 'use-new-nix + (lambda* (#:key inputs outputs #:allow-other-keys) + (substitute* "alacritty_terminal/Cargo.toml" + (("0.22.0") "^0.23.0")))) (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)) -- cgit v1.2.3