1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00

grass: Fix Can't load GDAL library errors on darwin

It is required to pass this extra flag to the build to avoid trying to
dynamically load the library.
This commit is contained in:
Matthew Pickering 2018-04-13 00:03:31 +01:00
parent a415a95e7c
commit b65181d78b

View file

@ -35,6 +35,9 @@ stdenv.mkDerivation {
"--with-blas"
];
# Otherwise a very confusing "Can't load GDAL library" error
makeFlags = stdenv.lib.optional stdenv.isDarwin "GDAL_DYNAMIC=";
/* Ensures that the python script run at build time are actually executable;
* otherwise, patchShebangs ignores them. */
postConfigure = ''