diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-09-12 22:24:59 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-09-12 22:59:47 +0300 |
commit | 979b41a894bc6128ff0749ff133e389fc574f048 (patch) | |
tree | 782c20a4caeb46b4d67facb4888208afc13a95d6 /gnu/packages/crates-io.scm | |
parent | b359ebec23be30c1036982f95039f0af513bda97 (diff) |
gnu: rust-winapi-x86-64-pc-windows-gnu@0.4: Remove bundled libraries.
* gnu/packages/crates-io.scm (rust-winapi-x86-64-pc-windows-gnu)[source]:
Add snippet to delete bundled libraries.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a6fafc3673..b155c7e77a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56339,10 +56339,14 @@ winapi.") (origin (method url-fetch) (uri (crate-uri "winapi-x86_64-pc-windows-gnu" version)) - (file-name (string-append name "-" version ".crate")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki")))) + "0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki")) + (modules '((guix build utils))) + (snippet + '(begin + (for-each delete-file (find-files "." "\\.a$")))))) (build-system cargo-build-system) (home-page "https://github.com/retep998/winapi-rs") (synopsis "Import libraries for the x86_64-pc-windows-gnu target") |