diff options
author | Robin Gloster <mail@glob.in> | 2017-12-27 17:00:39 +0100 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-12-29 02:18:35 +0100 |
commit | 572b2bda4e0a2245f465738cc919197ae0af06a4 (patch) | |
tree | 25e272248d6d0c114354a946430499b789b7be31 /pkgs/tools | |
parent | 6903ea60502865fe4397d8aaacc38ff674acaeb9 (diff) | |
download | nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.gz nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.bz2 nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.lz nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.xz nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.tar.zst nixlib-572b2bda4e0a2245f465738cc919197ae0af06a4.zip |
treewide: generalise for both mysql & mariadb
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/backup/bareos/default.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/backup/mydumper/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/networking/mailutils/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/networking/snabb/default.nix | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/tools/backup/bareos/default.nix b/pkgs/tools/backup/bareos/default.nix index 82d379c49d6a..4af20f76449a 100644 --- a/pkgs/tools/backup/bareos/default.nix +++ b/pkgs/tools/backup/bareos/default.nix @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ nettools gettext readline openssl python2 flex ncurses sqlite postgresql - libmysql zlib lzo jansson acl glusterfs libceph libcap rocksdb + mysql.connector-c zlib lzo jansson acl glusterfs libceph libcap rocksdb ]; postPatch = '' diff --git a/pkgs/tools/backup/mydumper/default.nix b/pkgs/tools/backup/mydumper/default.nix index 5b1f8f3fd5cb..da8805bc226e 100644 --- a/pkgs/tools/backup/mydumper/default.nix +++ b/pkgs/tools/backup/mydumper/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, cmake, pkgconfig -, glib, zlib, pcre, mariadb, libressl, }: +, glib, zlib, pcre, mysql, libressl }: stdenv.mkDerivation rec { version = "0.9.3"; @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake pkgconfig ]; - buildInputs = [ glib zlib pcre mariadb.client.dev libressl ]; + buildInputs = [ glib zlib pcre mysql.connector-c libressl ]; meta = with stdenv.lib; { description = ''High-perfomance MySQL backup tool''; diff --git a/pkgs/tools/networking/mailutils/default.nix b/pkgs/tools/networking/mailutils/default.nix index 4684c210c6eb..6f47b4b55766 100644 --- a/pkgs/tools/networking/mailutils/default.nix +++ b/pkgs/tools/networking/mailutils/default.nix @@ -54,14 +54,14 @@ in stdenv.mkDerivation rec { sed -i -e '/chown root:mail/d' \ -e 's/chmod [24]755/chmod 0755/' \ */Makefile{.in,.am} - sed -i 's:/usr/lib/mysql:${mysql.connector-c}/lib/mariadb:' configure.ac + sed -i 's:/usr/lib/mysql:${mysql.connector-c}/lib/mysql:' configure.ac sed -i 's/0\.18/0.19/' configure.ac sed -i -e 's:mysql/mysql.h:mysql.h:' \ -e 's:mysql/errmsg.h:errmsg.h:' \ sql/mysql.c ''; - NIX_CFLAGS_COMPILE = "-L${mysql.connector-c}/lib/mariadb -I${mysql.connector-c}/include/mariadb"; + NIX_CFLAGS_COMPILE = "-L${mysql.connector-c}/lib/mysql -I${mysql.connector-c}/include/mysql"; preCheck = '' # Add missing test files diff --git a/pkgs/tools/networking/snabb/default.nix b/pkgs/tools/networking/snabb/default.nix index f3baddd2653c..46580c0b802c 100644 --- a/pkgs/tools/networking/snabb/default.nix +++ b/pkgs/tools/networking/snabb/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, bash, makeWrapper, git, mariadb, diffutils, which, coreutils, procps, nettools }: +{ stdenv, lib, fetchFromGitHub, bash, makeWrapper, git, mysql, diffutils, which, coreutils, procps, nettools }: stdenv.mkDerivation rec { name = "snabb-${version}"; @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { done # We need a way to pass $PATH to the scripts - sed -i '2iexport PATH=${stdenv.lib.makeBinPath [ git mariadb which procps coreutils ]}' src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh.inc + sed -i '2iexport PATH=${stdenv.lib.makeBinPath [ git mysql.client which procps coreutils ]}' src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh.inc sed -i '2iexport PATH=${stdenv.lib.makeBinPath [ git coreutils diffutils nettools ]}' src/program/snabbnfv/neutron_sync_agent/neutron_sync_agent.sh.inc ''; |