From 769c61bc91a30afe129539932629a408eee1fdc3 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 7 Jan 2018 19:56:41 +0300 Subject: 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. --- modules/pkgs/mariadb/default.nix | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'modules/pkgs/mariadb/default.nix') 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 ]; -- cgit v1.2.3