guix-commits
[Top][All Lists]
Advanced

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

135/281: gnu: rust-windows-x86-64-msvc: Remove bundled library.


From: guix-commits
Subject: 135/281: gnu: rust-windows-x86-64-msvc: Remove bundled library.
Date: Wed, 22 Feb 2023 05:41:00 -0500 (EST)

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

commit 752617b6d66d2fdc07fec0934483b7e940f1ebb0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Feb 19 01:08:29 2023 +0200

    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.
---
 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 bbe5b0e987..5b1086e1b2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70168,7 +70168,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";)
@@ -70183,6 +70186,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"))
@@ -70196,6 +70200,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"))
@@ -70209,6 +70214,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"))



reply via email to

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