summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pandas/2.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/pandas/2.nix')
-rw-r--r--pkgs/development/python-modules/pandas/2.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pandas/2.nix b/pkgs/development/python-modules/pandas/2.nix
index 936a3db296ec..8af4094b0cfb 100644
--- a/pkgs/development/python-modules/pandas/2.nix
+++ b/pkgs/development/python-modules/pandas/2.nix
@@ -59,7 +59,7 @@ buildPythonPackage rec {
# 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="${libcxx}/include/c++/v1";
+ 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']" \