diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2018-01-07 19:56:41 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2018-01-07 19:56:41 +0300 |
commit | 769c61bc91a30afe129539932629a408eee1fdc3 (patch) | |
tree | e300276db43261461d244e1cfaea125a23241780 /modules/pkgs/mariadb/default.nix | |
parent | 110325c1727090f8e756a6db8fdb1f706b91416b (diff) | |
download | nixsap-769c61bc91a30afe129539932629a408eee1fdc3.tar.gz |
MariaDB: 10.1.26 -> 10.1.30
* Remove MDEV-12366.patch (fixed upstream)
* Switch to bundled PCRE
For PCRE see:
* https://bugs.exim.org/show_bug.cgi?id=2173
* https://jira.mariadb.org/browse/MDEV-14024
* https://github.com/NixOS/nixpkgs/commit/462076c909f10efd460595f2090a7cf76d595b74
While it is a common virtue to use "system" libraries,
this is not a big deal in Nix because there is no "system" libraries.
Diffstat (limited to 'modules/pkgs/mariadb/default.nix')
-rw-r--r-- | modules/pkgs/mariadb/default.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/modules/pkgs/mariadb/default.nix b/modules/pkgs/mariadb/default.nix index a08c45f..e4c595a 100644 --- a/modules/pkgs/mariadb/default.nix +++ b/modules/pkgs/mariadb/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, cmake, pkgconfig, ncurses, zlib, xz, lzo, lz4, bzip2, snappy -, openssl, pcre, boost, judy, bison, libxml2 +, openssl, boost, judy, bison, libxml2 , libaio, libevent, groff, jemalloc, cracklib, systemd, numactl, perl }: @@ -14,11 +14,11 @@ mariadb = everything // { }; common = rec { # attributes common to both builds - version = "10.1.26"; + version = "10.1.30"; src = fetchurl { url = "https://downloads.mariadb.org/interstitial/mariadb-${version}/source/mariadb-${version}.tar.gz"; - sha256 = "0ggpdcal0if9y6h9hp1yv2q65cbkjfl4p8rqk68a5pk7k75v325s"; + sha256 = "123ck7q5lk535qm8i5b0gk1pc5j9k1f9pl1vki30m7l14id5wfhp"; }; prePatch = '' @@ -29,7 +29,7 @@ common = rec { # attributes common to both builds nativeBuildInputs = [ cmake pkgconfig ]; - buildInputs = [ ncurses openssl zlib pcre jemalloc libaio systemd ]; + buildInputs = [ ncurses openssl zlib jemalloc libaio systemd ]; cmakeFlags = [ "-DBUILD_CONFIG=mysql_release" @@ -43,7 +43,7 @@ common = rec { # attributes common to both builds "-DWITH_ZLIB=system" "-DWITH_SSL=system" - "-DWITH_PCRE=system" + "-DWITH_PCRE=auto" ] ; @@ -93,7 +93,6 @@ everything = stdenv.mkDerivation (common // { name = "mariadb-${common.version}"; patches = [ - ./MDEV-12366.patch ]; nativeBuildInputs = common.nativeBuildInputs ++ [ bison ]; |