mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-05 18:29:28 +01:00
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
This commit is contained in:
parent
d4a2529867
commit
bde876b481
1 changed files with 6 additions and 4 deletions
|
@ -2619,12 +2619,14 @@ and locking in the core framework.")
|
||||||
(uri (crate-uri "isahc" version))
|
(uri (crate-uri "isahc" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "12iqz5fj0509pr813pds2fgdk649a0b6ipvy3pqjwb1ywh68m572"))))
|
(base32 "12iqz5fj0509pr813pds2fgdk649a0b6ipvy3pqjwb1ywh68m572"))
|
||||||
|
(snippet
|
||||||
|
#~(begin (use-modules (guix build utils))
|
||||||
|
(substitute* "Cargo.toml"
|
||||||
|
(("\"static-curl\", ") ""))))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; Build fails with "failed to run custom build command for `curl-sys
|
`(#:tests? #f ; use of undeclared crate or module `testserver`
|
||||||
;; v0.4.39+curl-7.74.0`". Skip for now.
|
|
||||||
`(#:skip-build? #true
|
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-bytes" ,rust-bytes-0.5)
|
(("rust-bytes" ,rust-bytes-0.5)
|
||||||
("rust-chrono" ,rust-chrono-0.4)
|
("rust-chrono" ,rust-chrono-0.4)
|
||||||
|
|
Loading…
Add table
Reference in a new issue