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:
parent
52e65be0d6
commit
3e241efe9b
|
@ -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 ];
|
||||
|
|
Loading…
Reference in a new issue