-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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-10.1.9 won't install because of conflicting mysql_config binaries #12072
Comments
For now I've locally forked the config for mariadb to change the |
would changing mysql_config to mariadb_config be the right fix? |
@mogorman The two programs are literally identical. As far as I can tell, it's just invalid to have it in both output paths. The comment in the commit doesn't make sense to me. @wkennington could you elaborate a little on the intended purpose of the change? My trivial one line change of 'cp' -> 'mv' at least makes it possible to create the user environment, but, I don't know if I've broken something else since I haven't tried to build any other expression that depends on mariadb yet. |
I assume that you don't need |
I do too get this error still and I can't install mysql to user profile.
|
NixOS/nix#815 will give us a nice tool to specify that we only want |
Is there still no fix for this aside from forking the config? Trying to get Nix setup to handle my web servers. |
I started playing with Nix and quickly ran into this on OS X. :( Is this heavily dependent on internal development work in Nix, or is there something I, as someone not familiar with the internals, can do to move it forward? If the answer is "take over MariaDB maintenance in nixpkgs because the current maintainer(s) lack time", that's something I'm willing to try. I just really don't want to maintain a separate fork and make all our engineers use it for an indeterminate period of time. |
@nicholasknight in general, you can fix issues and create pull requests. but this is not a build problem. it's a collision of two outputs. i think you need deep understanding of how nix works to fix this. |
how hard would it be to wrap one of the outputs with |
The problem is that nix installs all outputs by default. That is changeable with recent nix, after NixOS/nix#815. |
@vcunat do we have a workaround for this except for reverting multiple outputs? |
Note: this problem was there long before merging the closure-size branch. |
Note: it "works" because now only |
Seems like some days ago there was a split of the output paths for mariadb that makes it impossible to install or upgrade mariadb as near as I can tell.
This is the commit: e97b63a
collision between ‘/nix/store/mkmiziygv2v9hsq14xjs4lyjj12ncgsc-mariadb-10.1.9-lib/bin/mysql_config’ and ‘/nix/store/kbl8fh8mpdmisrhbaarg14v17024mbnq-mariadb-10.1.9/bin/mysql_config’; use ‘nix-env --set-flag priority NUMBER PKGNAME’ to change the priority of one of the conflicting packages
The suggested fix doesn't work because there's only one package in question.
The text was updated successfully, but these errors were encountered: