dgal: fix
This commit is contained in:
parent
e4574a54d4
commit
468a5bc224
@ -39,16 +39,9 @@ composableDerivation.composableDerivation {} (fixed: rec {
|
|||||||
(if netcdfSupport then "--with-netcdf=${netcdf}" else "")
|
(if netcdfSupport then "--with-netcdf=${netcdf}" else "")
|
||||||
];
|
];
|
||||||
|
|
||||||
# Prevent this:
|
|
||||||
#
|
|
||||||
# Checking .pth file support in /nix/store/xkrmb8xnvqxzjwsdmasqmsdh1a5y2y99-gdal-1.11.2/lib/python2.7/site-packages/
|
|
||||||
# /nix/store/pbi1lgank10fy0xpjckbdpgacqw34dsz-python-2.7.9/bin/python -E -c pass
|
|
||||||
# TEST FAILED: /nix/store/xkrmb8xnvqxzjwsdmasqmsdh1a5y2y99-gdal-1.11.2/lib/python2.7/site-packages/ does NOT support .pth files
|
|
||||||
# error: bad install directory or PYTHONPATH
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
pythonInstallDir=$out/lib/${pythonPackages.python.libPrefix}/site-packages
|
substituteInPlace swig/python/GNUmakefile \
|
||||||
mkdir -p $pythonInstallDir
|
--replace "ifeq (\$(STD_UNIX_LAYOUT),\"TRUE\")" "ifeq (1,1)"
|
||||||
export PYTHONPATH=''${PYTHONPATH:+''${PYTHONPATH}:}$pythonInstallDir
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user