python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / onefetch / zstd-pkg-config.patch
blob24b95f1ca18b7ca917eac95654943973cb6be148
1 diff --git a/Cargo.lock b/Cargo.lock
2 index 202cda0..bc864cc 100644
3 --- a/Cargo.lock
4 +++ b/Cargo.lock
5 @@ -872,6 +872,7 @@ dependencies = [
6 "tokei",
7 "toml",
8 "yaml-rust",
9 + "zstd-sys",
12 [[package]]
13 @@ -1678,4 +1679,5 @@ checksum = "2141bed8922b427761470e6bbfeff255da94fa20b0bbeab0d9297fcaf71e3aa7"
14 dependencies = [
15 "cc",
16 "libc",
17 + "pkg-config",
19 diff --git a/Cargo.toml b/Cargo.toml
20 index 8e0b5ff..48959b4 100644
21 --- a/Cargo.toml
22 +++ b/Cargo.toml
23 @@ -57,6 +57,8 @@ libc = "0.2.112"
24 [dev-dependencies]
25 more-asserts = "0.2"
26 paste = "1.0.7"
27 +# Specify that the indirect dependency ztsd-sys should pick up the system zstd C library
28 +zstd-sys = { version = "1", features = [ "pkg-config" ] }
30 [features]
31 fail-on-deprecated = []