diff options
author | Jean-Pierre De Jesus DIAZ <jean@foundation.xyz> | 2024-05-15 20:00:06 +0200 |
---|---|---|
committer | Guix Patches Tester <> | 2024-05-15 20:28:00 +0200 |
commit | 876112b056592367e33c1dc891e94b5b07e61122 (patch) | |
tree | f6c96a07f6dc8ed1c5f51f79401803bed3027621 | |
parent | aa827eba6f0788b1c442c66e54cfa76d5d2010ba (diff) | |
download | guix-patches-issue-70965.tar guix-patches-issue-70965.tar.gz |
gnu: libsecp256k1: Remove pre-generated files.issue-70965
* gnu/packages/crypto.scm (libsecp256k1) <source>: Remove pre-generated
files.
Change-Id: Iac49ee8c4caedf7bf997f00640f32bab98e25c52
-rw-r--r-- | gnu/packages/crypto.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm index abc535c0a2..15d9188769 100644 --- a/gnu/packages/crypto.scm +++ b/gnu/packages/crypto.scm @@ -1085,6 +1085,12 @@ trivial to build for local use. Portability is emphasized over performance.") (url "https://github.com/bitcoin-core/secp256k1") (commit (string-append "v" version)))) (file-name (git-file-name name version)) + (modules '((guix build utils))) + (snippet + ;; These files are pre-generated, the build system is able to + ;; re-generate those. + #~(for-each delete-file '("src/precomputed_ecmult.c" + "src/precomputed_ecmult_gen.c"))) (sha256 (base32 "1b5mi1byg46waa7v4z4b4vdhg5zaaaqg2f1vnfsvk0k7wb643k2x")))) |