Commit b65181d7 authored by Matthew Pickering's avatar Matthew Pickering
Browse files

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.
parent a415a95e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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 = ''