mariadb: disable auth_pam plugin on darwin

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
This commit is contained in:
Matthew Bauer
2019-09-21 00:18:34 -04:00
parent 53e1d838eb
commit 7e43b4d0ae
+3
View File
@@ -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 = [