guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

367/472: gnu: rust-ring-0.16: Don't delete pre-generated file.


From: guix-commits
Subject: 367/472: gnu: rust-ring-0.16: Don't delete pre-generated file.
Date: Tue, 18 Jul 2023 14:09:37 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit a31bc4e68cf7998b6d6cd0d1b86cedd9ad1d7604
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue May 23 10:15:19 2023 +0300

    gnu: rust-ring-0.16: Don't delete pre-generated file.
    
    * gnu/packages/crates-io.scm (rust-ring-0.16)[source]: Adjust snippet to
    not remove a pre-generated file and add a comment explaining.
---
 gnu/packages/crates-io.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6420d909a2..79559d2824 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52106,7 +52106,9 @@ Digital Signature Algorithm} (ECDSA).")
            (delete-file-recursively "pregenerated")
            ;; Regenerating the curve25519_tables requires python2 and 
clang-format.
            ;; Luckily we've added the script back in the patch.
-           (delete-file "crypto/curve25519/curve25519_tables.h")
+           ;; Rust doesn't provide a clear way to regenerate files located in
+           ;; source directories, so for now we don't remove the file here.
+           ;(delete-file "crypto/curve25519/curve25519_tables.h")
            ;; Pretend this isn't a relase tarball.
            (with-output-to-file ".git"
              (lambda _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]