From 631aeb11cfca961c9fe40067fb85ce6b1d2498f7 Mon Sep 17 00:00:00 2001 From: Ivan Babrou Date: Tue, 9 Feb 2021 23:02:17 -0800 Subject: [PATCH] pythonPackages.protobuf: remove no longer useful NIX_CFLAGS_COMPILE * It builds fine on `x86_64-darwin` * It allows builds on `aarch64-darwin` (#105026) * There are no Python versions older than 2.7 --- pkgs/development/python-modules/protobuf/default.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkgs/development/python-modules/protobuf/default.nix b/pkgs/development/python-modules/protobuf/default.nix index e7bbdd6ccdf8..aa4d00892dd8 100644 --- a/pkgs/development/python-modules/protobuf/default.nix +++ b/pkgs/development/python-modules/protobuf/default.nix @@ -20,12 +20,6 @@ buildPythonPackage { inherit disabled; doCheck = doCheck && !isPy27; # setuptools>=41.4 no longer collects correctly on python2 - NIX_CFLAGS_COMPILE = toString ( - # work around python distutils compiling C++ with $CC - lib.optional stdenv.isDarwin "-I${libcxx}/include/c++/v1" - ++ lib.optional (lib.versionOlder protobuf.version "2.7.0") "-std=c++98" - ); - outputs = [ "out" "dev" ]; propagatedBuildInputs = [ six ] ++ lib.optionals isPy27 [ google-apputils ];