summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandr Vityazev <avityazev@posteo.org>2022-02-12 19:25:14 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2022-02-14 10:54:58 +0100
commit7e3f44cc4d021f0629c01531b247a07453635023 (patch)
tree24db2d676198df2d83603cce1f5b3d1f6189eae4
parentb8c856e2157a3329c114e6d2edc87b6d740ffff8 (diff)
downloadguix-patches-7e3f44cc4d021f0629c01531b247a07453635023.tar
guix-patches-7e3f44cc4d021f0629c01531b247a07453635023.tar.gz
gnu: alfis: Fix build.
* gnu/packages/rust-apps: (alfis): [arguments]<#:phases>: Relax the rust-zeroize requirements for rust-chacha20poly1305 and rust-chacha20 in the 'relax-requirements' phase. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/rust-apps.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index a97fcc7968..725677b3d9 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -127,6 +127,12 @@ low-end hardware and serving many concurrent requests.")
(add-after 'configure 'relax-requirements
(lambda _
(substitute*
+ "guix-vendor/rust-chacha20-0.8.1.tar.gz/Cargo.toml"
+ (("version = \">=1, <1.5\"") "version = \"^1\""))
+ (substitute*
+ "guix-vendor/rust-chacha20poly1305-0.9.0.tar.gz/Cargo.toml"
+ (("version = \">=1, <1.5\"") "version = \"^1\""))
+ (substitute*
"guix-vendor/rust-x25519-dalek-1.2.0.tar.gz/Cargo.toml"
(("version = \"=1.3\"") "version = \"^1.3\"")))))
#:cargo-inputs