summary refs log tree commit diff
path: root/pkgs/development/python-modules/pandas
diff options
context:
space:
mode:
authortobim <tobim@fastmail.fm>2020-08-23 05:51:48 +0200
committerGitHub <noreply@github.com>2020-08-22 23:51:48 -0400
commit5be356a9cc419b756c8ba08f726b3483ec690561 (patch)
treeefabcb5fcce1f661dda8357ef3c53b6d3fe90363 /pkgs/development/python-modules/pandas
parentddfa22167019726c015a5638e815d028031162e8 (diff)
downloadnixpkgs-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.nix4
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 ''