fixes for mysql on OSX 10.8
This commit is contained in:
parent
2eace0dfe6
commit
843b9f332e
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "13y7bhjmx4daidvyqjz88yffbswb6rc1khkmiqm896fx3lglkcpr";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake bison ncurses openssl readline zlib ];
|
||||
buildInputs = [ cmake bison ncurses openssl readline zlib perl ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@ -23,6 +23,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
|
||||
prePatch = ''
|
||||
sed -i -e "s|/usr/bin/libtool|libtool|" cmake/libutils.cmake
|
||||
'';
|
||||
postInstall = ''
|
||||
sed -i -e "s|basedir=\"\"|basedir=\"$out\"|" $out/bin/mysql_install_db
|
||||
rm -rf $out/mysql-test $out/sql-bench
|
||||
|
Loading…
Reference in New Issue
Block a user