From b5390649c551a9cd2895dc2d7554de79325ea25c Mon Sep 17 00:00:00 2001 From: Matthew Justin Bauer Date: Thu, 29 Mar 2018 01:21:24 -0500 Subject: [PATCH] mysql: remove broken link macOS will not have the .so link Fixes #36570 --- pkgs/servers/sql/mysql/5.7.x.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/sql/mysql/5.7.x.nix b/pkgs/servers/sql/mysql/5.7.x.nix index b6b1dc7b1272..15e8569fd09e 100644 --- a/pkgs/servers/sql/mysql/5.7.x.nix +++ b/pkgs/servers/sql/mysql/5.7.x.nix @@ -60,7 +60,7 @@ self = stdenv.mkDerivation rec { install -vD $out/lib/*.a -t $static/lib rm -r $out/mysql-test rm $out/share/man/man1/mysql-test-run.pl.1 $out/lib/*.a - ln -s libmysqlclient.so $out/lib/libmysqlclient_r.so + ln -s libmysqlclient${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib/libmysqlclient_r${stdenv.hostPlatform.extensions.sharedLibrary} ''; passthru = {