summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-19 01:08:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:28:57 +0300
commit9d16e09719f57bde780a527711d841bc0c238fbd (patch)
treea4365252f2c2e5d6dc05471f9442656a7a7803e0 /gnu
parent9d6c2db86879ff53bd0cdd1e9b75dc1fbe9aef9a (diff)
gnu: rust-windows-x86-64-msvc: Remove bundled library.
* gnu/packages/crates-io.scm (rust-windows-x86-64-msvc-0.42) [source]: Add snippet to remove bundled library. (rust-windows-x86-64-msvc-0.36, rust-windows-x86-64-msvc-0.32, rust-windows-x86-64-msvc-0.28): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aad3ac1d9b..4c1e42e404 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70543,7 +70543,10 @@ windows crate.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1xdnvhg8yj4fgjy0vkrahq5cbgfpcd7ak2bdv8s5lwjrazc0j07l"))))
+ "1xdnvhg8yj4fgjy0vkrahq5cbgfpcd7ak2bdv8s5lwjrazc0j07l"))
+ (snippet
+ '(begin
+ (delete-file "lib/windows.lib")))))
(build-system cargo-build-system)
(arguments (list #:skip-build? #t))
(home-page "https://github.com/microsoft/windows-rs")
@@ -70558,6 +70561,7 @@ windows crate.")
(name "rust-windows-x86-64-msvc")
(version "0.36.1")
(source (origin
+ (inherit (package-source rust-windows-x86-64-msvc-0.42))
(method url-fetch)
(uri (crate-uri "windows_x86_64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
@@ -70571,6 +70575,7 @@ windows crate.")
(name "rust-windows-x86-64-msvc")
(version "0.32.0")
(source (origin
+ (inherit (package-source rust-windows-x86-64-msvc-0.36))
(method url-fetch)
(uri (crate-uri "windows_x86_64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
@@ -70584,6 +70589,7 @@ windows crate.")
(name "rust-windows-x86-64-msvc")
(version "0.28.0")
(source (origin
+ (inherit (package-source rust-windows-x86-64-msvc-0.32))
(method url-fetch)
(uri (crate-uri "windows_x86_64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))