summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-05-23 10:15:19 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-07-18 20:56:14 +0300
commita31bc4e68cf7998b6d6cd0d1b86cedd9ad1d7604 (patch)
tree538d947ec626d4de5e9cebd7293b9f4fe836849e /gnu
parenta2a6c757778003af95dadeeb87cf444ee0bd6ccf (diff)
downloadguix-a31bc4e68cf7998b6d6cd0d1b86cedd9ad1d7604.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm4
1 files changed, 3 insertions, 1 deletions
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 _