mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
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 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue