Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

cargo-bazel: add libz as buildInput for darwin

Add libz as build input to allow building cargo-bazel on darwin.

+4
+4
pkgs/by-name/ca/cargo-bazel/package.nix
··· 1 { 2 lib, 3 fetchCrate, 4 rustPlatform, 5 }: 6 7 rustPlatform.buildRustPackage rec { ··· 12 inherit pname version; 13 hash = "sha256-FS1WFlK0YNq1QCi3S3f5tMN+Bdcfx2dxhDKRLXLcios="; 14 }; 15 16 useFetchCargoVendor = true; 17 cargoHash = "sha256-E/yF42Vx9tv8Ik1j23El3+fI19ZGzq6nikVMATY7m3E=";
··· 1 { 2 lib, 3 + stdenv, 4 fetchCrate, 5 rustPlatform, 6 + libz, 7 }: 8 9 rustPlatform.buildRustPackage rec { ··· 14 inherit pname version; 15 hash = "sha256-FS1WFlK0YNq1QCi3S3f5tMN+Bdcfx2dxhDKRLXLcios="; 16 }; 17 + 18 + buildInputs = lib.optional stdenv.isDarwin libz; 19 20 useFetchCargoVendor = true; 21 cargoHash = "sha256-E/yF42Vx9tv8Ik1j23El3+fI19ZGzq6nikVMATY7m3E=";