aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/gis
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2020-09-09 14:17:23 -0500
committerThomas Tuegel <ttuegel@mailbox.org>2020-09-12 06:58:26 -0500
commit106616102dc4facc2daad35de7a393b963316d67 (patch)
tree1451a703f99330444097fe43a22d020cb5cb89f5 /pkgs/applications/gis
parentc7d0b34a1230c17396ef5c29d8cb520801ea2204 (diff)
grass: fix libmysqlclient include path
Diffstat (limited to 'pkgs/applications/gis')
-rw-r--r--pkgs/applications/gis/grass/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/gis/grass/default.nix b/pkgs/applications/gis/grass/default.nix
index 420f57bb93fe..c1b7841dc58a 100644
--- a/pkgs/applications/gis/grass/default.nix
+++ b/pkgs/applications/gis/grass/default.nix
@@ -3,6 +3,8 @@
, proj, gdal, geos, sqlite, postgresql, libmysqlclient, python2Packages, libLAS, proj-datumgrid
}:
+let inherit (stdenv) lib; in
+
stdenv.mkDerivation rec {
name = "grass";
version = "7.6.1";
@@ -42,7 +44,7 @@ stdenv.mkDerivation rec {
"--with-postgres-libs=${postgresql.lib}/lib/"
# it complains about missing libmysqld but doesn't really seem to need it
"--with-mysql"
- "--with-mysql-includes=${libmysqlclient}/include/mysql"
+ "--with-mysql-includes=${lib.getDev libmysqlclient}/include/mysql"
"--with-mysql-libs=${libmysqlclient}/lib/mysql"
"--with-blas"
"--with-liblas=${libLAS}/bin/liblas-config"