guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/471: gnu: rust-windows-x86-64-gnu: Remove bundled library.


From: guix-commits
Subject: 06/471: gnu: rust-windows-x86-64-gnu: Remove bundled library.
Date: Wed, 3 May 2023 09:26:44 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit a5ab76da461b1122c0d1ae19f28d3402025a2fde
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Feb 19 01:06:21 2023 +0200

    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 @@ windows crate.")
               (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 @@ windows crate.")
     (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 @@ windows crate.")
     (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 @@ windows crate.")
     (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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]