GNU bug report logs - #53963
[PATCH] gnu: alfis: Fix build.

Previous Next

Package: guix-patches;

Reported by: Aleksandr Vityazev <avityazev <at> posteo.org>

Date: Sat, 12 Feb 2022 19:26:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: alfis: Fix build.
Date: Sat, 12 Feb 2022 19:25:14 +0000
* gnu/packages/rust-apps: (alfis): [arguments]<#:phases>:
Relax the rust-zeroize requirements for rust-chacha20poly1305
and rust-chacha20 in the 'relax-requirements' phase.
---
 gnu/packages/rust-apps.scm | 6 ++++++
 1 file changed, 6 insertions(+)

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
@@ -126,6 +126,12 @@ (define-public alfis
        (modify-phases %standard-phases
          (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\"")))))
-- 
2.34.0



-- 

Aleksandr Vityazev




This bug report was last modified 3 years and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.