@@ -1,10 +1,10 @@
11{ stdenv, fetchFromGitHub, pkgconfig, nettools, gettext, libtool
22, readline ? null, openssl ? null, python ? null, ncurses ? null
3−, sqlite ? null, postgresql ? null, mysql ? null, zlib ? null, lzo ? null
3+, sqlite ? null, postgresql ? null, libmysql ? null, zlib ? null, lzo ? null
44, acl ? null, glusterfs ? null, libceph ? null, libcap ? null
55}:
66
7−assert sqlite != null || postgresql != null || mysql != null;
7+assert sqlite != null || postgresql != null || libmysql != null;
88
99with stdenv.lib;
1010let
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
2424
2525 buildInputs = [
2626 pkgconfig nettools gettext readline openssl python
27− ncurses sqlite postgresql mysql.lib zlib lzo acl glusterfs libceph libcap
27+ ncurses sqlite postgresql libmysql zlib lzo acl glusterfs libceph libcap
2828 ];
2929
3030 postPatch = ''
@@ -54,7 +54,7 @@ stdenv.mkDerivation rec {
5454 ++ optional (openssl != null) "--with-openssl=${openssl}"
5555 ++ optional (sqlite != null) "--with-sqlite3=${sqlite}"
5656 ++ optional (postgresql != null) "--with-postgresql=${postgresql}"
57− ++ optional (mysql != null) "--with-mysql=${mysql.lib}"
57+ ++ optional (libmysql != null) "--with-mysql=${libmysql}"
5858 ++ optional (zlib != null) "--with-zlib=${zlib}"
5959 ++ optional (lzo != null) "--with-lzo=${lzo}"
6060 ++ optional (acl != null) "--enable-acl"