3
0
Fork 0
forked from mirrors/nixpkgs

mariadb: fix socket path

This also fixes mysql connections to localhost  in php because it gets
the socket path from mysql_config.
This commit is contained in:
Markus Mueller 2017-08-24 01:55:32 +00:00 committed by Robin Gloster
parent 52e65be0d6
commit 3e241efe9b

View file

@ -177,7 +177,10 @@ connector-c = stdenv.mkDerivation rec {
};
# outputs = [ "dev" "out" ]; FIXME: cmake variables don't allow that < 3.0
cmakeFlags = [ "-DWITH_EXTERNAL_ZLIB=ON" ];
cmakeFlags = [
"-DWITH_EXTERNAL_ZLIB=ON"
"-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock"
];
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [ openssl zlib ];