aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-09-12 22:24:08 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-09-12 22:59:43 +0300
commitb359ebec23be30c1036982f95039f0af513bda97 (patch)
treedcb1b06243cbd685c8737a68db0e109793a1c28b /gnu/packages
parent9d9759f3ae76a53177801446824f5afe39b5ebce (diff)
downloadguix-b359ebec23be30c1036982f95039f0af513bda97.tar.gz
guix-b359ebec23be30c1036982f95039f0af513bda97.zip
gnu: rust-winapi-i686-pc-windows-gnu@0.4: Remove bundled libraries.
* gnu/packages/crates-io.scm (rust-winapi-i686-pc-windows-gnu)[source]: Add snippet to delete bundled libraries.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8a469785d9..a6fafc3673 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56291,10 +56291,14 @@ command-line, uniformly on all platforms")
(origin
(method url-fetch)
(uri (crate-uri "winapi-i686-pc-windows-gnu" version))
- (file-name (string-append name "-" version ".crate"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))))
+ "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))
+ (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 i686-pc-windows-gnu target")