mysql.server: fix build

That moveToOutput should've been only for the client
This commit is contained in:
Robin Gloster 2017-07-22 18:54:41 +02:00
parent ee1c85aee9
commit 77af1d2000

View file

@ -70,7 +70,6 @@ common = rec { # attributes common to both builds
postInstall = ''
rm "$out"/lib/*.a
find "''${!outputBin}/bin" -name '*test*' -delete
moveToOutput bin/mariadb_config "$dev"
'';
passthru.mysqlVersion = "5.7";
@ -107,6 +106,7 @@ client = stdenv.mkDerivation (common // {
# prevent cycle; it needs to reference $dev
postInstall = common.postInstall + ''
moveToOutput bin/mysql_config "$dev"
moveToOutput bin/mariadb_config "$dev"
'';
enableParallelBuilding = true; # the client should be OK