diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2018-03-13 09:04:18 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2018-03-21 08:27:57 +0000 |
commit | 49182bcd34a73d33fccb9a0e709bd9cc45bfa26f (patch) | |
tree | 9b28e84c6841b16163bf5f18f8685ccf67f80df8 /pkgs/applications/gis/grass/default.nix | |
parent | d5797472e25ec65d8e8120614c28dce647302add (diff) |
Fix grass build on darwin
Diffstat (limited to 'pkgs/applications/gis/grass/default.nix')
-rw-r--r-- | pkgs/applications/gis/grass/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/gis/grass/default.nix b/pkgs/applications/gis/grass/default.nix index 987b544c55657..5b36c24ab10e2 100644 --- a/pkgs/applications/gis/grass/default.nix +++ b/pkgs/applications/gis/grass/default.nix @@ -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" |