diff options
author | Orivej Desh <orivej@gmx.fr> | 2018-06-04 04:59:32 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2018-06-04 05:22:25 +0000 |
commit | 859e27f177a83dd9f0b99fa4453e925eabc48963 (patch) | |
tree | a49d078f473a45ddd54db69b9362cf44c79a8270 /pkgs | |
parent | 4869ddf883fa493314927395bb30cbefd766a757 (diff) | |
download | nixlib-859e27f177a83dd9f0b99fa4453e925eabc48963.tar nixlib-859e27f177a83dd9f0b99fa4453e925eabc48963.tar.gz nixlib-859e27f177a83dd9f0b99fa4453e925eabc48963.tar.bz2 nixlib-859e27f177a83dd9f0b99fa4453e925eabc48963.tar.lz nixlib-859e27f177a83dd9f0b99fa4453e925eabc48963.tar.xz nixlib-859e27f177a83dd9f0b99fa4453e925eabc48963.tar.zst nixlib-859e27f177a83dd9f0b99fa4453e925eabc48963.zip |
mysql57: unbundle libedit, libevent, lz4, protobuf, zlib
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/sql/mysql/5.7.x.nix | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/servers/sql/mysql/5.7.x.nix b/pkgs/servers/sql/mysql/5.7.x.nix index 4017f5946a48..146d9d23198b 100644 --- a/pkgs/servers/sql/mysql/5.7.x.nix +++ b/pkgs/servers/sql/mysql/5.7.x.nix @@ -1,5 +1,6 @@ -{ stdenv, fetchurl, cmake, bison, ncurses, openssl, readline, zlib, perl -, boost, cctools, CoreServices, developer_cmds }: +{ stdenv, fetchurl, cmake, bison +, boost, libedit, libevent, lz4, ncurses, openssl, protobuf, readline, zlib, perl +, cctools, CoreServices, developer_cmds }: # Note: zlib is not required; MySQL can use an internal zlib. @@ -18,7 +19,9 @@ self = stdenv.mkDerivation rec { export PATH=$PATH:$TMPDIR ''; - buildInputs = [ cmake bison ncurses openssl readline zlib boost ] + nativeBuildInputs = [ cmake bison ]; + + buildInputs = [ boost libedit libevent lz4 ncurses openssl protobuf readline zlib ] ++ stdenv.lib.optionals stdenv.isDarwin [ perl cctools CoreServices developer_cmds ]; enableParallelBuilding = true; @@ -30,7 +33,11 @@ self = stdenv.mkDerivation rec { "-DWITH_SSL=yes" "-DWITH_EMBEDDED_SERVER=yes" "-DWITH_UNIT_TESTS=no" - "-DWITH_ZLIB=yes" + "-DWITH_EDITLINE=system" + "-DWITH_LIBEVENT=system" + "-DWITH_LZ4=system" + "-DWITH_PROTOBUF=system" + "-DWITH_ZLIB=system" "-DWITH_ARCHIVE_STORAGE_ENGINE=yes" "-DWITH_BLACKHOLE_STORAGE_ENGINE=yes" "-DWITH_FEDERATED_STORAGE_ENGINE=yes" |