pythonPackages.pandas: fix build with clang (#95992)

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
wip/yesman
tobim 4 years ago committed by GitHub
parent ddfa221670
commit 5be356a9cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      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 ''

Loading…
Cancel
Save