diff options
author | Izorkin <izorkin@elven.pw> | 2019-08-17 21:24:29 +0300 |
---|---|---|
committer | Izorkin <izorkin@elven.pw> | 2019-09-09 15:55:34 +0300 |
commit | 329a88efa78126ae7413807ce58000eab49e82d9 (patch) | |
tree | 432995643b4784e5eefdd253ace54a2566eebd7c /pkgs/tools/backup/bareos | |
parent | cfb909229dd4c82441ddbf6d904def2057b62678 (diff) | |
download | nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar.gz nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar.bz2 nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar.lz nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar.xz nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.tar.zst nixpkgs-329a88efa78126ae7413807ce58000eab49e82d9.zip |
treewide: replace mysql.connector-c to libmysqlclient
Diffstat (limited to 'pkgs/tools/backup/bareos')
-rw-r--r-- | pkgs/tools/backup/bareos/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/backup/bareos/default.nix b/pkgs/tools/backup/bareos/default.nix index ce77ebe8c1a..cb8bf0346a2 100644 --- a/pkgs/tools/backup/bareos/default.nix +++ b/pkgs/tools/backup/bareos/default.nix @@ -1,10 +1,10 @@ { stdenv, fetchFromGitHub, pkgconfig, nettools, gettext, flex , readline ? null, openssl ? null, python2 ? null, ncurses ? null, rocksdb -, sqlite ? null, postgresql ? null, mysql ? null, zlib ? null, lzo ? null +, sqlite ? null, postgresql ? null, libmysqlclient ? null, zlib ? null, lzo ? null , jansson ? null, acl ? null, glusterfs ? null, libceph ? null, libcap ? null }: -assert sqlite != null || postgresql != null || mysql != null; +assert sqlite != null || postgresql != null || libmysqlclient != null; with stdenv.lib; let @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ nettools gettext readline openssl python2 flex ncurses sqlite postgresql - mysql.connector-c zlib lzo jansson acl glusterfs libceph libcap rocksdb + libmysqlclient zlib lzo jansson acl glusterfs libceph libcap rocksdb ]; postPatch = '' @@ -55,7 +55,7 @@ stdenv.mkDerivation rec { ++ optional (openssl != null) "--with-openssl=${openssl.dev}" ++ optional (sqlite != null) "--with-sqlite3=${sqlite.dev}" ++ optional (postgresql != null) "--with-postgresql=${postgresql}" - ++ optional (mysql != null) "--with-mysql=${mysql.connector-c}" + ++ optional (libmysqlclient != null) "--with-mysql=${libmysqlclient}" ++ optional (zlib != null) "--with-zlib=${zlib.dev}" ++ optional (lzo != null) "--with-lzo=${lzo}" ++ optional (jansson != null) "--with-jansson=${jansson}" |