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 1 { 2 2 lib, 3 + stdenv, 3 4 fetchCrate, 4 5 rustPlatform, 6 + libz, 5 7 }: 6 8 7 9 rustPlatform.buildRustPackage rec { ··· 12 14 inherit pname version; 13 15 hash = "sha256-FS1WFlK0YNq1QCi3S3f5tMN+Bdcfx2dxhDKRLXLcios="; 14 16 }; 17 + 18 + buildInputs = lib.optional stdenv.isDarwin libz; 15 19 16 20 useFetchCargoVendor = true; 17 21 cargoHash = "sha256-E/yF42Vx9tv8Ik1j23El3+fI19ZGzq6nikVMATY7m3E=";