From efbfc19a8a8e973c2146d746025064e3255abba3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 19 Feb 2023 01:06:21 +0200 Subject: [PATCH] gnu: rust-windows-x86-64-gnu: Remove bundled library. * gnu/packages/crates-io.scm (rust-windows-x86-64-gnu-0.42)[source]: Add snippet to remove bundled library. (rust-windows-x86-64-gnu-0.36, rust-windows-x86-64-gnu-0.32, rust-windows-x86-64-gnu-0.28): Inherit from above. --- gnu/packages/crates-io.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index aab2ab6e8b..be806ef626 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -70456,7 +70456,10 @@ (define-public rust-windows-x86-64-gnu-0.42 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "1vdh8k5a4m6pfkc5gladqznyqxgapkjm0qb8iwqvqb1nnlhinyxz")))) + "1vdh8k5a4m6pfkc5gladqznyqxgapkjm0qb8iwqvqb1nnlhinyxz")) + (snippet + '(begin + (delete-file "lib/libwindows.a"))))) (build-system cargo-build-system) (arguments (list #:skip-build? #t)) @@ -70472,6 +70475,7 @@ (define-public rust-windows-x86-64-gnu-0.36 (name "rust-windows-x86-64-gnu") (version "0.36.1") (source (origin + (inherit (package-source rust-windows-x86-64-gnu-0.42)) (method url-fetch) (uri (crate-uri "windows_x86_64_gnu" version)) (file-name (string-append name "-" version ".tar.gz")) @@ -70485,6 +70489,7 @@ (define-public rust-windows-x86-64-gnu-0.32 (name "rust-windows-x86-64-gnu") (version "0.32.0") (source (origin + (inherit (package-source rust-windows-x86-64-gnu-0.36)) (method url-fetch) (uri (crate-uri "windows_x86_64_gnu" version)) (file-name (string-append name "-" version ".tar.gz")) @@ -70498,6 +70503,7 @@ (define-public rust-windows-x86-64-gnu-0.28 (name "rust-windows-x86-64-gnu") (version "0.28.0") (source (origin + (inherit (package-source rust-windows-x86-64-gnu-0.32)) (method url-fetch) (uri (crate-uri "windows_x86_64_gnu" version)) (file-name (string-append name "-" version ".tar.gz"))