From 7e43b4d0aee408c3742b84e89749c2c494f16cfe Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sat, 21 Sep 2019 00:14:30 -0400 Subject: [PATCH] mariadb: disable auth_pam plugin on darwin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #69034 This plugin doesn’t work right for us now, needs to be disabled. It was added first in 10.3.18: https://github.com/MariaDB/server/commit/91fdb931fa2f734d54acadeb3e9c860a26543f04#diff-7cea40646c6b8df9a67a3eac4eec9bc6 --- pkgs/servers/sql/mariadb/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/servers/sql/mariadb/default.nix b/pkgs/servers/sql/mariadb/default.nix index b188b2295a8b..15553055457c 100644 --- a/pkgs/servers/sql/mariadb/default.nix +++ b/pkgs/servers/sql/mariadb/default.nix @@ -48,6 +48,9 @@ common = rec { # attributes common to both builds prePatch = '' sed -i 's,[^"]*/var/log,/var/log,g' storage/mroonga/vendor/groonga/CMakeLists.txt + '' + optionalString stdenv.hostPlatform.isDarwin '' + substituteInPlace cmake/build_configurations/mysql_release.cmake \ + --replace "SET(PLUGIN_AUTH_PAM YES)" "" ''; patches = [