git.iko.soy/typeable/nixpkgs
on master help sign in
dgal: fix
commit468a5bc22458f7aeb3ee7b887f29a8e8799c6337 authorDmitry Kalinkin <dmitry.kalinkin@gmail.com> dateSat 15 Oct 2016, 18:03 (10 years ago) parente4574a5
1 file changed+2−9
pkgs/development/libraries/gdal/default.nix+2−9
pkgs/development/libraries/gdal/default.nix+2−9
@@ -39,16 +39,9 @@ composableDerivation.composableDerivation {} (fixed: rec {
3939 (if netcdfSupport then "--with-netcdf=${netcdf}" else "")
4040 ];
4141
42− # Prevent this:
43− #
44− # Checking .pth file support in /nix/store/xkrmb8xnvqxzjwsdmasqmsdh1a5y2y99-gdal-1.11.2/lib/python2.7/site-packages/
45− # /nix/store/pbi1lgank10fy0xpjckbdpgacqw34dsz-python-2.7.9/bin/python -E -c pass
46− # TEST FAILED: /nix/store/xkrmb8xnvqxzjwsdmasqmsdh1a5y2y99-gdal-1.11.2/lib/python2.7/site-packages/ does NOT support .pth files
47− # error: bad install directory or PYTHONPATH
4842 preBuild = ''
49− pythonInstallDir=$out/lib/${pythonPackages.python.libPrefix}/site-packages
50− mkdir -p $pythonInstallDir
51− export PYTHONPATH=''${PYTHONPATH:+''${PYTHONPATH}:}$pythonInstallDir
43+ substituteInPlace swig/python/GNUmakefile \
44+ --replace "ifeq (\$(STD_UNIX_LAYOUT),\"TRUE\")" "ifeq (1,1)"
5245 '';
5346
5447 postInstall = ''