about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhappysalada <raphael@megzari.com>2022-05-16 20:52:56 -0400
committerJonathan Ringer <jonringer@users.noreply.github.com>2022-05-16 19:12:47 -0700
commit889bb1a1aa82d7ec5ddaa0164c3add8be6a9bb10 (patch)
treed84dd95149ed3d71f3f9808e665231ff5f231eb3
parent1a1747677efe715c2143d3f0e82a79a91c144b85 (diff)
python3Packages.pandas: remove unused commands
-rw-r--r--pkgs/development/python-modules/pandas/default.nix10
1 files changed, 0 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/pandas/default.nix b/pkgs/development/python-modules/pandas/default.nix
index 5188ce6379592..38173eb4fe009 100644
--- a/pkgs/development/python-modules/pandas/default.nix
+++ b/pkgs/development/python-modules/pandas/default.nix
@@ -59,16 +59,6 @@ buildPythonPackage rec {
   # https://github.com/NixOS/nixpkgs/issues/39687
   hardeningDisable = lib.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 = lib.optionalString stdenv.isDarwin ''
-    cpp_sdk="${lib.getDev libcxx}/include/c++/v1";
-    echo "Adding $cpp_sdk to the setup.py common_include variable"
-    substituteInPlace setup.py \
-      --replace "['pandas/src/klib', 'pandas/src']" \
-                "['pandas/src/klib', 'pandas/src', '$cpp_sdk']"
-  '';
-
   doCheck = !stdenv.isAarch32 && !stdenv.isAarch64; # upstream doesn't test this architecture
 
   # don't max out build cores, it breaks tests