Skip to content

Commit

Permalink
mariadb: disable auth_pam plugin on darwin
Browse files Browse the repository at this point in the history
Fixes NixOS#69034

This plugin doesn’t work right for us now, needs to be disabled. It
was added first in 10.3.18:

MariaDB/server@91fdb93#diff-7cea40646c6b8df9a67a3eac4eec9bc6
  • Loading branch information
matthewbauer committed Sep 21, 2019
1 parent 53e1d83 commit 7e43b4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/servers/sql/mariadb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 7e43b4d

Please sign in to comment.