cargo-bazel: add libz as buildInput for darwin
Add libz as build input to allow building cargo-bazel on darwin.
This commit is contained in:
parent
ea3daf0790
commit
a952bd4a00
@ -1,7 +1,9 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
stdenv,
|
||||||
fetchCrate,
|
fetchCrate,
|
||||||
rustPlatform,
|
rustPlatform,
|
||||||
|
libz,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -13,6 +15,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
hash = "sha256-FS1WFlK0YNq1QCi3S3f5tMN+Bdcfx2dxhDKRLXLcios=";
|
hash = "sha256-FS1WFlK0YNq1QCi3S3f5tMN+Bdcfx2dxhDKRLXLcios=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin libz;
|
||||||
|
|
||||||
useFetchCargoVendor = true;
|
useFetchCargoVendor = true;
|
||||||
cargoHash = "sha256-E/yF42Vx9tv8Ik1j23El3+fI19ZGzq6nikVMATY7m3E=";
|
cargoHash = "sha256-E/yF42Vx9tv8Ik1j23El3+fI19ZGzq6nikVMATY7m3E=";
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user