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
sphinxsearch: Add support for MySQL & xmlpipe2 #80727
Conversation
Whoops. I built this against release-19.09 and it seems I didn't correctly rebase to master. will fix. |
a727c1b
to
5371395
Compare
Ok, should work now. Closure sizes:
|
Running in production, works just fine with a mysql source 👍 |
5371395
to
e28ecb1
Compare
Thanks for the review @jtojnar! Fixed and tested compilation in all build configurations. |
@GrahamcOfBorg build sphinxsearch |
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.
I guess there is no policy to prefer some particular database? This looks specific to NixOS as some other distributions I know always link to MariaDB for some reason.
e28ecb1
to
150887a
Compare
Build failure on darwin :( seems like it's due to this upstream bug: http://sphinxsearch.com/bugs/view.php?id=2578 I imported a workaround for this particular issue from Homebrew: I don't have a macOS to test on, unfortunately. \\ edit
|
b3e45be
to
d86cc95
Compare
upstream bug: see http://sphinxsearch.com/bugs/view.php?id=2578 fix ported from Homebrew: Homebrew/homebrew-core#8619
d86cc95
to
6a6bf70
Compare
@GrahamcOfBorg build sphinxsearch |
🎉 |
Thanks. |
Motivation for this change
This PR obsoletes #79032.
I added support for MySQL sources, and optionally xmlpipe2. I don't use xmlpipe2 myself, so I didn't test that. I'll test MySQL source in the next few days in a small production environment. :)
The version and main source were pulled in as arguments? Not sure what that was about, overriding those should be done with
overrideAttrs
. I also enabled parallel builds (works fine for me), and added myself as maintainer. The 2.X branch of sphinxsearch isn't actively supported anymore though, so I don't expect any updates. The 3.X line isn't open source (yet), and has enough incompatibilities to go into its own sphinxsearch3 package anyways.Things done
sandbox
innix.conf
on non-NixOS linux)Tested compilation of all pkgs that depend on this change usingno packages depend on thisnix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)