forked from mirrors/nixpkgs
pythonPackages.protobuf: propagate native pkgs.protobuf input
Python packages depending on the protobuf library often use the "protoc"
tool from pkgs.protobuf to codegen at build time.
This fixes a few regressions from 5c7531872f
This commit is contained in:
parent
16c74f7eea
commit
f20a66084f
|
@ -14,7 +14,8 @@ buildPythonPackage rec {
|
|||
++ optional (versionOlder protobuf.version "2.7.0") "-std=c++98";
|
||||
|
||||
propagatedBuildInputs = [ google_apputils ];
|
||||
nativeBuildInputs = [ google_apputils pyext protobuf ];
|
||||
propagatedNativeBuildInputs = [ protobuf ]; # For protoc.
|
||||
nativeBuildInputs = [ google_apputils pyext ];
|
||||
buildInputs = [ protobuf ];
|
||||
|
||||
patches = optional isPy37
|
||||
|
|
Loading…
Reference in a new issue