mariadb-connector-c: fix crypt_libs

This commit is contained in:
Izorkin 2019-10-28 20:12:18 +03:00 committed by Frederik Rietdijk
parent 23f3abda4d
commit 638edb9528

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake
{ stdenv, fetchurl, cmake, fetchpatch
, curl, openssl, zlib
, libiconv
, version, sha256, ...
@ -18,6 +18,13 @@ stdenv.mkDerivation {
inherit sha256;
};
patches = [
(fetchpatch {
url = "https://github.com/MariaDB/mariadb-connector-c/commit/ee91b2c98a63acb787114dee4f2694e154630928.patch";
sha256 = "05mlyv20kzn9bax4byv2ph1cf42541fcl1zcqzbfwqmynnisvdah";
})
];
cmakeFlags = [
"-DMARIADB_UNIX_ADDR=/run/mysqld/mysqld.sock"
"-DWITH_CURL=ON"