From 638edb9528471e1c4a5b70b86f4161dc04e32cab Mon Sep 17 00:00:00 2001 From: Izorkin Date: Mon, 28 Oct 2019 20:12:18 +0300 Subject: [PATCH] mariadb-connector-c: fix crypt_libs --- pkgs/servers/sql/mariadb/connector-c/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/sql/mariadb/connector-c/default.nix b/pkgs/servers/sql/mariadb/connector-c/default.nix index af344d637217..1e1e2db0f605 100644 --- a/pkgs/servers/sql/mariadb/connector-c/default.nix +++ b/pkgs/servers/sql/mariadb/connector-c/default.nix @@ -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"