python3Packages.grpcio: remove cctools from build inputs

This fixes `aarch64-darwin` build in #105026. Without this the `strip` in `PATH`
is the one from `darwin.cctools`, which doesn't preserve code signatures,
resulting in code that cannot run and pass `pythonImportsCheckPhase`.

The dependency on cctools was introduced in #44902 in 2018,
but it doesn't seem to be necessary on `x86_64-darwin` today.
This commit is contained in:
Ivan Babrou 2021-02-27 22:16:38 -08:00 committed by github-actions[bot]
parent d6876bc879
commit d191f2278d

View file

@ -1,6 +1,5 @@
{ lib, stdenv
, buildPythonPackage
, darwin
, grpc
, six
, protobuf
@ -20,8 +19,7 @@ buildPythonPackage rec {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ cython pkg-config ]
++ lib.optional stdenv.isDarwin darwin.cctools;
nativeBuildInputs = [ cython pkg-config ];
buildInputs = [ c-ares openssl zlib ];
propagatedBuildInputs = [ six protobuf ]