diff options
author | tobim <tobim@fastmail.fm> | 2020-08-23 05:51:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-22 23:51:48 -0400 |
commit | 5be356a9cc419b756c8ba08f726b3483ec690561 (patch) | |
tree | efabcb5fcce1f661dda8357ef3c53b6d3fe90363 /pkgs/development/python-modules/pandas | |
parent | ddfa22167019726c015a5638e815d028031162e8 (diff) | |
download | nixpkgs-5be356a9cc419b756c8ba08f726b3483ec690561.tar nixpkgs-5be356a9cc419b756c8ba08f726b3483ec690561.tar.gz nixpkgs-5be356a9cc419b756c8ba08f726b3483ec690561.tar.bz2 nixpkgs-5be356a9cc419b756c8ba08f726b3483ec690561.tar.lz nixpkgs-5be356a9cc419b756c8ba08f726b3483ec690561.tar.xz nixpkgs-5be356a9cc419b756c8ba08f726b3483ec690561.tar.zst nixpkgs-5be356a9cc419b756c8ba08f726b3483ec690561.zip |
pythonPackages.pandas: fix build with clang (#95992)
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
Diffstat (limited to 'pkgs/development/python-modules/pandas')
-rw-r--r-- | pkgs/development/python-modules/pandas/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix index cebb7c2b938..7b246a38cb9 100644 --- a/pkgs/development/python-modules/pandas/default.nix +++ b/pkgs/development/python-modules/pandas/default.nix @@ -58,6 +58,10 @@ in buildPythonPackage rec { xlwt ]; + # doesn't work with -Werror,-Wunused-command-line-argument + # https://github.com/NixOS/nixpkgs/issues/39687 + hardeningDisable = optional stdenv.cc.isClang "strictoverflow"; + # For OSX, we need to add a dependency on libcxx, which provides # `complex.h` and other libraries that pandas depends on to build. postPatch = optionalString isDarwin '' |