diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2018-04-13 00:03:31 +0100 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2018-04-13 21:02:53 +0100 |
commit | b65181d78b61464966da493a635004fbc3161a70 (patch) | |
tree | d2eb952a69a3060064cbd325a246ac4c3b88c377 /pkgs/applications/gis/grass | |
parent | a415a95e7c520b1f0f86c9729a54f5c8e7bd416c (diff) | |
download | nixlib-b65181d78b61464966da493a635004fbc3161a70.tar nixlib-b65181d78b61464966da493a635004fbc3161a70.tar.gz nixlib-b65181d78b61464966da493a635004fbc3161a70.tar.bz2 nixlib-b65181d78b61464966da493a635004fbc3161a70.tar.lz nixlib-b65181d78b61464966da493a635004fbc3161a70.tar.xz nixlib-b65181d78b61464966da493a635004fbc3161a70.tar.zst nixlib-b65181d78b61464966da493a635004fbc3161a70.zip |
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.
Diffstat (limited to 'pkgs/applications/gis/grass')
-rw-r--r-- | pkgs/applications/gis/grass/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/gis/grass/default.nix b/pkgs/applications/gis/grass/default.nix index 8353bce1b847..3e0089efa6d0 100644 --- a/pkgs/applications/gis/grass/default.nix +++ b/pkgs/applications/gis/grass/default.nix @@ -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 = '' |