guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 131/470: gnu: rust-windows-i686-gnu: Remove bundled library.
Date: Thu, 16 Mar 2023 03:00:42 -0400 (EDT)

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

commit 25a8105b6d0625251921ba0807de11c7df1b4584
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 ff790cd00b..a3a93247a8 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]