From 979b41a894bc6128ff0749ff133e389fc574f048 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 12 Sep 2021 22:24:59 +0300 Subject: 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. --- gnu/packages/crates-io.scm | 8 ++++++-- 1 file 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") -- cgit 1.4.1