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
|
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
|
# For OSX, we need to add a dependency on libcxx, which provides
|
||||||
# `complex.h` and other libraries that pandas depends on to build.
|
# `complex.h` and other libraries that pandas depends on to build.
|
||||||
postPatch = optionalString isDarwin ''
|
postPatch = optionalString isDarwin ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user