mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +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,
|
||||
stdenv,
|
||||
fetchCrate,
|
||||
rustPlatform,
|
||||
libz,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
|
@ -13,6 +15,8 @@ rustPlatform.buildRustPackage rec {
|
|||
hash = "sha256-FS1WFlK0YNq1QCi3S3f5tMN+Bdcfx2dxhDKRLXLcios=";
|
||||
};
|
||||
|
||||
buildInputs = lib.optional stdenv.isDarwin libz;
|
||||
|
||||
useFetchCargoVendor = true;
|
||||
cargoHash = "sha256-E/yF42Vx9tv8Ik1j23El3+fI19ZGzq6nikVMATY7m3E=";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue