guix-commits
[Top][All Lists]
Advanced

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

10/25: gnu: rust-isahc-0.9: Don't skip the build.


From: guix-commits
Subject: 10/25: gnu: rust-isahc-0.9: Don't skip the build.
Date: Thu, 25 Jan 2024 04:55:44 -0500 (EST)

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

commit dfca1ac35da3888ce2571ef46478a1d7a10eee9d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Jan 24 11:07:03 2024 +0200

    gnu: rust-isahc-0.9: Don't skip the build.
    
    * gnu/packages/crates-web.scm (rust-isahc-0.9)[source]: Add snippet to
    not use a static curl by default.
    [arguments]: Don't skip the build.  Skip the tests.
    
    Change-Id: Id12fe44d1d23aa863cd7e1c98560683e4fffa80e
---
 gnu/packages/crates-web.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 9497ab7b90..158a76f7d7 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -2619,12 +2619,14 @@ and locking in the core framework.")
        (uri (crate-uri "isahc" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "12iqz5fj0509pr813pds2fgdk649a0b6ipvy3pqjwb1ywh68m572"))))
+        (base32 "12iqz5fj0509pr813pds2fgdk649a0b6ipvy3pqjwb1ywh68m572"))
+    (snippet
+     #~(begin (use-modules (guix build utils))
+              (substitute* "Cargo.toml"
+                (("\"static-curl\", ") ""))))))
     (build-system cargo-build-system)
     (arguments
-     ;; Build fails with "failed to run custom build command for `curl-sys
-     ;; v0.4.39+curl-7.74.0`".  Skip for now.
-     `(#:skip-build? #true
+     `(#:tests? #f      ; use of undeclared crate or module `testserver`
        #:cargo-inputs
        (("rust-bytes" ,rust-bytes-0.5)
         ("rust-chrono" ,rust-chrono-0.4)



reply via email to

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