rPackages.RMySQL: fix package

This commit is contained in:
Maciej Krüger 2021-09-13 13:50:35 +02:00
parent d5540fa18f
commit a286dc9ef2
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F

View file

@ -786,7 +786,9 @@ let
});
RMySQL = old.RMySQL.overrideDerivation (attrs: {
MYSQL_DIR="${pkgs.libmysqlclient}";
MYSQL_DIR = "${pkgs.libmysqlclient}";
PKGCONFIG_CFLAGS = "-I${pkgs.libmysqlclient.dev}/include/mysql";
NIX_CFLAGS_LINK = "-L${pkgs.libmysqlclient}/lib/mysql -lmysqlclient";
preConfigure = ''
patchShebangs configure
'';