summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorSeerLite via Guix-patches via <guix-patches@gnu.org>2022-01-21 19:44:17 -0300
committerOleg Pykhalov <go.wigust@gmail.com>2022-01-22 11:45:16 +0300
commit41f41c0f220c435518c87ff6e28e45a00b23da6f (patch)
tree16f1eaa06d9ac4eba0a4cb431a0e0cc249992c8d /gnu/packages
parent91487b08cecd40a91e0273a5dba0594ad3e0e9bb (diff)
downloadguix-41f41c0f220c435518c87ff6e28e45a00b23da6f.tar.gz
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 <go.wigust@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm2
-rw-r--r--gnu/packages/terminals.scm4
2 files changed, 5 insertions, 1 deletions
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 @@ using AES-NI for high performance.")
         ("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 @@ 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))