diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-06-15 22:22:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-15 22:22:14 -0400 |
commit | 9bee41fb679ecfa8258f8504e54c4e3a8200b58b (patch) | |
tree | 601607a94c6f673c46a5356b5d72330a95a5dc37 | |
parent | ec092b288f9dee4651b14b44a7336d8bfd5f287f (diff) | |
parent | dd7af301b45e8d59127eba75dfbd0979ef3499f1 (diff) | |
download | nixpkgs-9bee41fb679ecfa8258f8504e54c4e3a8200b58b.tar nixpkgs-9bee41fb679ecfa8258f8504e54c4e3a8200b58b.tar.gz nixpkgs-9bee41fb679ecfa8258f8504e54c4e3a8200b58b.tar.bz2 nixpkgs-9bee41fb679ecfa8258f8504e54c4e3a8200b58b.tar.lz nixpkgs-9bee41fb679ecfa8258f8504e54c4e3a8200b58b.tar.xz nixpkgs-9bee41fb679ecfa8258f8504e54c4e3a8200b58b.tar.zst nixpkgs-9bee41fb679ecfa8258f8504e54c4e3a8200b58b.zip |
Merge pull request #42074 from cwhy/patch-2
Fix the problem of kiwisolver not compling in macOS
-rw-r--r-- | pkgs/development/python-modules/kiwisolver/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/kiwisolver/default.nix b/pkgs/development/python-modules/kiwisolver/default.nix index 6ee732a06cb..c0c3b09e7b4 100644 --- a/pkgs/development/python-modules/kiwisolver/default.nix +++ b/pkgs/development/python-modules/kiwisolver/default.nix @@ -1,6 +1,8 @@ { lib , buildPythonPackage , fetchPypi +, stdenv +, libcxx }: buildPythonPackage rec { @@ -11,7 +13,9 @@ buildPythonPackage rec { inherit pname version; sha256 = "ce3be5d520b4d2c3e5eeb4cd2ef62b9b9ab8ac6b6fedbaa0e39cdb6f50644278"; }; - + + NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-I${libcxx}/include/c++/v1"; + # Does not include tests doCheck = false; @@ -21,4 +25,4 @@ buildPythonPackage rec { license = lib.licenses.bsd3; }; -} \ No newline at end of file +} |