mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
gdal: fix darwin build
This commit is contained in:
parent
b88296818d
commit
516f909acb
@ -1,9 +1,9 @@
|
|||||||
{ stdenv, fetchurl, composableDerivation, unzip, libjpeg, libtiff, zlib
|
{ stdenv, fetchurl, composableDerivation, unzip, libjpeg, libtiff, zlib
|
||||||
, postgresql, mysql, libgeotiff, pythonPackages, proj, geos, openssl
|
, postgresql, mysql, libgeotiff, pythonPackages, proj, geos, openssl
|
||||||
, libpng, sqlite, libspatialite
|
, libpng, sqlite, libspatialite
|
||||||
, netcdf, hdf5 , curl
|
, libiconv
|
||||||
, netcdfSupport ? true
|
, netcdfSupport ? true, netcdf, hdf5 , curl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
@ -18,7 +18,8 @@ composableDerivation.composableDerivation {} (fixed: rec {
|
|||||||
|
|
||||||
buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite libspatialite ]
|
buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite libspatialite ]
|
||||||
++ (with pythonPackages; [ python numpy wrapPython ])
|
++ (with pythonPackages; [ python numpy wrapPython ])
|
||||||
++ (stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ]);
|
++ stdenv.lib.optional stdenv.isDarwin libiconv
|
||||||
|
++ stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ];
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user