Merge pull request #42074 from cwhy/patch-2

Fix the problem of kiwisolver not compling in macOS
This commit is contained in:
Matthew Justin Bauer 2018-06-15 22:22:14 -04:00 committed by GitHub
commit 9bee41fb67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
, stdenv
, libcxx
}:
buildPythonPackage rec {
@ -12,6 +14,8 @@ buildPythonPackage rec {
sha256 = "ce3be5d520b4d2c3e5eeb4cd2ef62b9b9ab8ac6b6fedbaa0e39cdb6f50644278";
};
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1";
# Does not include tests
doCheck = false;