-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mariadb: fix builds on darwin #70841
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passes nix-review on x86_64-darwin
1 package are marked as broken and were skipped:
zoneminder
6 package were build:
diesel-cli lua51Packages.luadbi-mysql luaPackages.luadbi-mysql lua53Packages.luadbi-mysql luajitPackages.luadbi-mysql mysql
Thanks for fix. |
@GrahamcOfBorg build mariadb |
do you mind changing the commit message to
https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md#submitting-changes |
We want to disable `PLUGIN_AUTH_PAM` when building: 1. `mariadb` on macOS. 2. `mariadb-client` on any platform Unfortunately, the interaction of these two commits 6c97b04 7e43b4d created a situation where we disable it *twice* when building on macOS. Once in a darwin-specific `prePatch` script, and again in the `patches` section for client builds. This removes the redundant `prePatch` script and conditionally applies the patch to `mariadb` server builds on darwin. Fixes NixOS#70835
Doh! Done :) @jonringer would you mind kicking ofborg again for me? :) |
@GrahamcOfBorg build mariadb mariadb-client |
Won't this be backported to |
release-19.09 would be the right target channel, I think nixpkgs-19.09-darwin is a "release channel" which reflects what |
Fixes #70835
We want to disable
PLUGIN_AUTH_PAM
when building:mariadb
on macOS.mariadb-client
on any platformUnfortunately, the interaction of these two commits, 6c97b04 and 7e43b4d, created a situation where we disable it twice when building on macOS: Once in a darwin-specific
prePatch
script, and again in thepatches
section for client builds.(See L42-47 and L124-127 in the parent commit)
This removes the redundant
prePatch
script and conditionally applies the patch tomariadb
server builds on darwin.Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)Notify maintainers
cc @thoughtpolice