diff --git a/pkgs/applications/gis/grass/default.nix b/pkgs/applications/gis/grass/default.nix index 562a5e616a3249..4000c834602b45 100644 --- a/pkgs/applications/gis/grass/default.nix +++ b/pkgs/applications/gis/grass/default.nix @@ -24,6 +24,11 @@ stdenv.mkDerivation rec { # directory patches = [ ./no_symbolic_links.patch ]; + # Correct mysql_config query + patchPhase = '' + substituteInPlace configure --replace "--libmysqld-libs" "--libs" + ''; + configureFlags = [ "--with-proj-share=${proj}/share/proj" "--with-proj-includes=${proj.dev}/include"