summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorLancelot SIX <lsix@lancelotsix.com>2017-10-09 22:15:17 +0200
committerLancelot SIX <lsix@lancelotsix.com>2017-10-09 22:15:17 +0200
commit953ce94826632f0cc171daf6d9fa0da47062fc9d (patch)
tree7dbc0daf42ecd7480231f02329b0cc41c0f46ee7 /pkgs/development
parentf2ce15be9d4a943e745856cc197b906466b36f6e (diff)
downloadnixpkgs-953ce94826632f0cc171daf6d9fa0da47062fc9d.tar
nixpkgs-953ce94826632f0cc171daf6d9fa0da47062fc9d.tar.gz
nixpkgs-953ce94826632f0cc171daf6d9fa0da47062fc9d.tar.bz2
nixpkgs-953ce94826632f0cc171daf6d9fa0da47062fc9d.tar.lz
nixpkgs-953ce94826632f0cc171daf6d9fa0da47062fc9d.tar.xz
nixpkgs-953ce94826632f0cc171daf6d9fa0da47062fc9d.tar.zst
nixpkgs-953ce94826632f0cc171daf6d9fa0da47062fc9d.zip
pythonPackages.shapely: fix patchPhase
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/shapely/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/shapely/default.nix b/pkgs/development/python-modules/shapely/default.nix
index 48d4fa68f65..8f81a810cfa 100644
--- a/pkgs/development/python-modules/shapely/default.nix
+++ b/pkgs/development/python-modules/shapely/default.nix
@@ -27,7 +27,7 @@ buildPythonPackage rec {
     libc = if stdenv.isDarwin then "libc.dylib" else "libc.so.6";
   in ''
     sed -i "s|_lgeos = load_dll('geos_c', fallbacks=.*)|_lgeos = load_dll('geos_c', fallbacks=['${geos}/lib/libgeos_c${stdenv.hostPlatform.extensions.sharedLibrary}'])|" shapely/geos.py
-    sed -i "s|free = load_dll('c').free|free = load_dll('c', fallbacks=['${stdenv.cc.libc}/lib/${stdenv.cc.libc}']).free|" shapely/geos.py
+    sed -i "s|free = load_dll('c').free|free = load_dll('c', fallbacks=['${stdenv.cc.libc}/lib/${libc}']).free|" shapely/geos.py
   '';
 
   # tests/test_voctorized fails because the vectorized extension is not