* [bug#53429] [PATCH] gnu: alacritty: Fix failing build.
@ 2022-01-21 22:44 SeerLite via Guix-patches via
2022-01-22 8:55 ` bug#53429: " Oleg Pykhalov
0 siblings, 1 reply; 2+ messages in thread
From: SeerLite via Guix-patches via @ 2022-01-21 22:44 UTC (permalink / raw)
To: 53429; +Cc: SeerLite
* gnu/packages/crates-io.scm (rust-alacritty-terminal)[inputs]: Update rust-nix.
* gnu/packages/terminals.scm (alacritty)[arguments]: Add phase 'use-new-nix.
---
gnu/packages/crates-io.scm | 2 +-
gnu/packages/terminals.scm | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 706404a061..3c6a225357 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1810,7 +1810,7 @@ (define-public rust-alacritty-terminal-0.15
("rust-mio-anonymous-pipes" ,rust-mio-anonymous-pipes-0.2)
("rust-mio-extras" ,rust-mio-extras-2)
("rust-miow" ,rust-miow-0.3)
- ("rust-nix" ,rust-nix-0.22)
+ ("rust-nix" ,rust-nix-0.23)
("rust-parking-lot" ,rust-parking-lot-0.11)
("rust-regex-automata" ,rust-regex-automata-0.1)
("rust-serde" ,rust-serde-1)
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 @@ (define-public alacritty
("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))
--
2.34.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#53429: [PATCH] gnu: alacritty: Fix failing build.
2022-01-21 22:44 [bug#53429] [PATCH] gnu: alacritty: Fix failing build SeerLite via Guix-patches via
@ 2022-01-22 8:55 ` Oleg Pykhalov
0 siblings, 0 replies; 2+ messages in thread
From: Oleg Pykhalov @ 2022-01-22 8:55 UTC (permalink / raw)
To: 53429-done; +Cc: SeerLite
[-- Attachment #1: Type: text/plain, Size: 387 bytes --]
Hi,
SeerLite via Guix-patches via <guix-patches@gnu.org> writes:
> * gnu/packages/crates-io.scm (rust-alacritty-terminal)[inputs]: Update rust-nix.
> * gnu/packages/terminals.scm (alacritty)[arguments]: Add phase 'use-new-nix.
> ---
> gnu/packages/crates-io.scm | 2 +-
> gnu/packages/terminals.scm | 4 ++++
> 2 files changed, 5 insertions(+), 1 deletion(-)
Applied.
Thanks,
Oleg.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-22 8:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-21 22:44 [bug#53429] [PATCH] gnu: alacritty: Fix failing build SeerLite via Guix-patches via
2022-01-22 8:55 ` bug#53429: " Oleg Pykhalov
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).