guix-commits
[Top][All Lists]
Advanced

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

131/281: gnu: rust-windows-i686-gnu: Remove bundled library.


From: guix-commits
Subject: 131/281: gnu: rust-windows-i686-gnu: Remove bundled library.
Date: Wed, 22 Feb 2023 05:40:59 -0500 (EST)

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

commit 6554b65a467fc47817667ca009ededf2835a69ca
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Feb 19 01:04:16 2023 +0200

    gnu: rust-windows-i686-gnu: Remove bundled library.
    
    * gnu/packages/crates-io.scm (rust-windows-i686-gnu-0.42)[source]: Add
    snippet to remove bundled library.
    (rust-windows-i686-gnu-0.36, rust-windows-i686-gnu-0.32,
    rust-windows-i686-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 bc43dc066a..7ef60b4244 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69797,7 +69797,10 @@ crate.")
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1rsxdjp50nk38zfd1dxj12i2qmhpvxsm6scdq8v1d10ncygy3spv"))))
+                "1rsxdjp50nk38zfd1dxj12i2qmhpvxsm6scdq8v1d10ncygy3spv"))
+              (snippet
+               '(begin
+                  (delete-file "lib/libwindows.a")))))
     (build-system cargo-build-system)
     (arguments
      (list #:skip-build? #t))
@@ -69813,6 +69816,7 @@ crate.")
     (name "rust-windows-i686-gnu")
     (version "0.36.1")
     (source (origin
+              (inherit (package-source rust-windows-i686-gnu-0.42))
               (method url-fetch)
               (uri (crate-uri "windows_i686_gnu" version))
               (file-name (string-append name "-" version ".tar.gz"))
@@ -69826,6 +69830,7 @@ crate.")
     (name "rust-windows-i686-gnu")
     (version "0.32.0")
     (source (origin
+              (inherit (package-source rust-windows-i686-gnu-0.36))
               (method url-fetch)
               (uri (crate-uri "windows_i686_gnu" version))
               (file-name (string-append name "-" version ".tar.gz"))
@@ -69839,6 +69844,7 @@ crate.")
     (name "rust-windows-i686-gnu")
     (version "0.28.0")
     (source (origin
+              (inherit (package-source rust-windows-i686-gnu-0.32))
               (method url-fetch)
               (uri (crate-uri "windows_i686_gnu" version))
               (file-name (string-append name "-" version ".tar.gz"))



reply via email to

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