python-shapely: bake path to libgeos_c into the library
This commit is contained in:
parent
2083a23073
commit
b86f217281
@ -6755,7 +6755,7 @@ rec {
|
|||||||
sha256 = "099sc7ajpp6hbgrx3c0bl6hhkz1mhnr0ahvc7s4i3f3b7q1zfn7l";
|
sha256 = "099sc7ajpp6hbgrx3c0bl6hhkz1mhnr0ahvc7s4i3f3b7q1zfn7l";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ pkgs.geos ];
|
buildInputs = [ pkgs.geos ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export LANG="en_US.UTF-8";
|
export LANG="en_US.UTF-8";
|
||||||
@ -6763,6 +6763,10 @@ rec {
|
|||||||
export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive";
|
export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive";
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
sed -i "s|_lgeos = load_dll('geos_c', fallbacks=.*)|_lgeos = load_dll('geos_c', fallbacks=['${pkgs.geos}/lib/libgeos_c.so'])|" shapely/geos.py
|
||||||
|
'';
|
||||||
|
|
||||||
doCheck = false; # won't suceed for unknown reasons that look harmless, though
|
doCheck = false; # won't suceed for unknown reasons that look harmless, though
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user