guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 367/379: gnu: rust-ring-0.16: Don't delete pre-generated file.
Date: Thu, 29 Jun 2023 12:35:26 -0400 (EDT)

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

commit af374b8575d70af8b481ba9458a6908f7e79f908
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 49303cc972..80bdcb0216 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]