pythonPackages.grpcio: split outputs to avoid runtime build references

protobuf propagates build-arch protobuf, and this commit prevents it from
ending up in grpcio's runtime closure.
This commit is contained in:
Ben Wolsieffer 2020-11-08 18:07:47 -05:00 committed by Frederik Rietdijk
parent 8d171ccfc3
commit 9518714926
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ buildPythonPackage rec {
inherit (grpc) src version;
pname = "grpcio";
outputs = [ "out" "dev" ];
nativeBuildInputs = [ cython pkgconfig ]
++ stdenv.lib.optional stdenv.isDarwin darwin.cctools;