me
/
guix
Archived
1
0
Fork 0

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>
Aleksandr Vityazev 2022-02-12 19:25:14 +00:00 committed by Nicolas Goaziou
parent b8c856e215
commit 7e3f44cc4d
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 6 additions and 0 deletions

View File

@ -126,6 +126,12 @@ low-end hardware and serving many concurrent requests.")
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'configure 'relax-requirements (add-after 'configure 'relax-requirements
(lambda _ (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* (substitute*
"guix-vendor/rust-x25519-dalek-1.2.0.tar.gz/Cargo.toml" "guix-vendor/rust-x25519-dalek-1.2.0.tar.gz/Cargo.toml"
(("version = \"=1.3\"") "version = \"^1.3\""))))) (("version = \"=1.3\"") "version = \"^1.3\"")))))