summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Devos <maximedevos@telenet.be>2022-09-12 12:57:06 +0200
committerGuix Patches Tester <>2022-11-18 12:52:41 +0100
commit5c2b028008ce7210b51ff19599f75773b631753b (patch)
treef32ef09a39c80222f8b1787563aed34473d177e6
parent983906ab72307a5b848a54233b30d9744356de07 (diff)
downloadguix-patches-5c2b028008ce7210b51ff19599f75773b631753b.tar
guix-patches-5c2b028008ce7210b51ff19599f75773b631753b.tar.gz
gnu: rust-libloading: Remove pre-compiled binaries.issue-57747
* gnu/packages/crates-io.scm (rust-libloading-0.7)[source]: Add snippet. (rust-libloading-0.6)[source]: Inherit from rust-liboading-0.7's source. (rust-libloading-0.5)[source]: Likewise. (rust-libloading-0.3)[source]: Likewise.
-rw-r--r--gnu/packages/crates-io.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 792779a28f..8deed5f3d6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -29744,7 +29744,11 @@ library.")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))))
+ "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Remove binaries.
+ '(for-each delete-file (find-files "." "\\.dll$")))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -29768,7 +29772,7 @@ loading utilities.")
(version "0.6.7")
(source
(origin
- (method url-fetch)
+ (inherit (package-source rust-libloading-0.7))
(uri (crate-uri "libloading" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
@@ -29790,7 +29794,7 @@ loading utilities.")
(version "0.5.2")
(source
(origin
- (method url-fetch)
+ (inherit (package-source rust-libloading-0.7))
(uri (crate-uri "libloading" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
@@ -29818,7 +29822,7 @@ functions and static variables these libraries contain.")
(version "0.3.4")
(source
(origin
- (method url-fetch)
+ (inherit (package-source rust-libloading-0.7))
(uri (crate-uri "libloading" version))
(file-name
(string-append name "-" version ".tar.gz"))