diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-24 11:07:03 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:58:30 +0200 |
commit | bde876b4817977aabcbf28402d8ba263a4a71821 (patch) | |
tree | 10c40b7bb46398eb5a69ac6fe4813dfa434aad54 /gnu/packages/crates-web.scm | |
parent | d4a252986749b3116f391dc311076e60dc61f84d (diff) |
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
Diffstat (limited to 'gnu/packages/crates-web.scm')
-rw-r--r-- | gnu/packages/crates-web.scm | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 9497ab7b90d..158a76f7d74 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) |