From bde876b4817977aabcbf28402d8ba263a4a71821 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 24 Jan 2024 11:07:03 +0200 Subject: [PATCH] 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)