mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
python.pkgs.protobuf: fix build
This commit is contained in:
parent
c4bed3043d
commit
4999aeb7b7
@ -8,8 +8,10 @@ buildPythonPackage rec {
|
|||||||
inherit (protobuf) name src;
|
inherit (protobuf) name src;
|
||||||
inherit disabled doCheck;
|
inherit disabled doCheck;
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE =
|
||||||
# work around python distutils compiling C++ with $CC
|
# work around python distutils compiling C++ with $CC
|
||||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
|
optional stdenv.isDarwin "-I${libcxx}/include/c++/v1"
|
||||||
|
++ optional (versionOlder protobuf.version "2.7.0") "-std=c++98";
|
||||||
|
|
||||||
propagatedBuildInputs = [ protobuf google_apputils ];
|
propagatedBuildInputs = [ protobuf google_apputils ];
|
||||||
buildInputs = [ google_apputils pyext ];
|
buildInputs = [ google_apputils pyext ];
|
||||||
|
Loading…
Reference in New Issue
Block a user