diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2021-09-12 22:24:08 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2021-09-12 22:59:43 +0300 |
commit | b359ebec23be30c1036982f95039f0af513bda97 (patch) | |
tree | dcb1b06243cbd685c8737a68db0e109793a1c28b /gnu | |
parent | 9d9759f3ae76a53177801446824f5afe39b5ebce (diff) | |
download | guix-b359ebec23be30c1036982f95039f0af513bda97.tar.gz |
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')
-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 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") |