From 9518714926bdacdf2bd76fa3fe77a87685f79126 Mon Sep 17 00:00:00 2001 From: Ben Wolsieffer Date: Sun, 8 Nov 2020 18:07:47 -0500 Subject: [PATCH] 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. --- pkgs/development/python-modules/grpcio/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/grpcio/default.nix b/pkgs/development/python-modules/grpcio/default.nix index 9311838627a..55d569c9054 100644 --- a/pkgs/development/python-modules/grpcio/default.nix +++ b/pkgs/development/python-modules/grpcio/default.nix @@ -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;