guix-commits
[Top][All Lists]
Advanced

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

130/281: gnu: rust-windows-aarch64-msvc: Remove bundled library.


From: guix-commits
Subject: 130/281: gnu: rust-windows-aarch64-msvc: Remove bundled library.
Date: Wed, 22 Feb 2023 05:40:58 -0500 (EST)

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

commit 3f81825f67ffc7eebb3f3e22d9def745dbeffcf8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Feb 19 01:02:57 2023 +0200

    gnu: rust-windows-aarch64-msvc: Remove bundled library.
    
    * gnu/packages/crates-io.scm (rust-windows-aarch64-msvc-0.42)
    [source]: Add snippet to remove bundled library.
    (rust-windows-aarch64-msvc-0.36, rust-windows-aarch64-msvc-0.32,
    rust-windows-aarch64-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 a2456d2736..bc43dc066a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69732,7 +69732,10 @@ configuration file and/or environment variables.")
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1d6d9ny0yl5l9vvagydigvkfcphzk2aygchiccywijimb8pja3yx"))))
+                "1d6d9ny0yl5l9vvagydigvkfcphzk2aygchiccywijimb8pja3yx"))
+              (snippet
+               '(begin
+                  (delete-file "lib/windows.lib")))))
     (build-system cargo-build-system)
     (arguments
      (list #:skip-build? #t))
@@ -69749,6 +69752,7 @@ crate.")
     (version "0.36.1")
     (source
      (origin
+       (inherit (package-source rust-windows-aarch64-msvc-0.42))
        (method url-fetch)
        (uri (crate-uri "windows_aarch64_msvc" version))
        (file-name (string-append name "-" version ".tar.gz"))
@@ -69761,6 +69765,7 @@ crate.")
     (name "rust-windows-aarch64-msvc")
     (version "0.32.0")
     (source (origin
+              (inherit (package-source rust-windows-aarch64-msvc-0.36))
               (method url-fetch)
               (uri (crate-uri "windows_aarch64_msvc" version))
               (file-name (string-append name "-" version ".tar.gz"))
@@ -69774,6 +69779,7 @@ crate.")
     (name "rust-windows-aarch64-msvc")
     (version "0.28.0")
     (source (origin
+              (inherit (package-source rust-windows-aarch64-msvc-0.32))
               (method url-fetch)
               (uri (crate-uri "windows_aarch64_msvc" version))
               (file-name (string-append name "-" version ".tar.gz"))



reply via email to

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