From d191f2278d710c135ea105e103d4b148f696df01 Mon Sep 17 00:00:00 2001 From: Ivan Babrou Date: Sat, 27 Feb 2021 22:16:38 -0800 Subject: [PATCH] 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. --- pkgs/development/python-modules/grpcio/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/grpcio/default.nix b/pkgs/development/python-modules/grpcio/default.nix index 1b1ffb975fb6..0fe6b9343eb3 100644 --- a/pkgs/development/python-modules/grpcio/default.nix +++ b/pkgs/development/python-modules/grpcio/default.nix @@ -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 ]