Fix grass build on darwin

This commit is contained in:
Matthew Pickering
2018-03-21 08:27:57 +00:00
parent d5797472e2
commit 49182bcd34
2 changed files with 42 additions and 1 deletions
+5 -1
View File
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, flex, bison, pkgconfig, zlib, libtiff, libpng, fftw
, cairo, readline, ffmpeg, makeWrapper, wxGTK30, netcdf, blas
, proj, gdal, geos, sqlite, postgresql, mysql, python2Packages
, proj, gdal, geos, sqlite, postgresql, mysql, python2Packages, lib
}:
stdenv.mkDerivation {
@@ -15,6 +15,10 @@ stdenv.mkDerivation {
readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.connector-c blas ]
++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
# On Darwin the installer tries to symlink the help files into a system
# directory
patches = [] ++ lib.optional stdenv.isDarwin [ ./no_symbolic_links.patch ];
configureFlags = [
"--with-proj-share=${proj}/share/proj"
"--without-opengl"