pythonPackages.pandas: fix build with clang (#95992)
Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
parent
ddfa221670
commit
5be356a9cc
@ -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 ''
|
||||
|
Loading…
Reference in New Issue
Block a user