1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00

libdbi-drivers: fix libmysqlclient include path

This commit is contained in:
Thomas Tuegel 2020-09-09 14:17:41 -05:00
parent 106616102d
commit 3510a5f13c
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59

View file

@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
"--with-dbi-libdir=${libdbi}/lib"
] ++ optionals (libmysqlclient != null) [
"--with-mysql"
"--with-mysql-incdir=${libmysqlclient}/include/mysql"
"--with-mysql-incdir=${getDev libmysqlclient}/include/mysql"
"--with-mysql-libdir=${libmysqlclient}/lib/mysql"
] ++ optionals (sqlite != null) [
"--with-sqlite3"