From 29e1fb98a22b846a82e5ec4cc5dbf3e487e41c45 Mon Sep 17 00:00:00 2001 From: Kranium Gikos Mendoza Date: Fri, 2 Sep 2016 18:11:22 +0800 Subject: [PATCH] ggz_base_libs: fix build (#18212) --- pkgs/development/libraries/ggz_base_libs/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/ggz_base_libs/default.nix b/pkgs/development/libraries/ggz_base_libs/default.nix index 631160487d8e..6003c5ea33ea 100644 --- a/pkgs/development/libraries/ggz_base_libs/default.nix +++ b/pkgs/development/libraries/ggz_base_libs/default.nix @@ -12,8 +12,13 @@ stdenv.mkDerivation rec { buildInputs = [ intltool openssl expat libgcrypt ]; + patchPhase = '' + substituteInPlace configure \ + --replace "/usr/local/ssl/include" "${openssl.dev}/include" \ + --replace "/usr/local/ssl/lib" "${openssl.out}/lib" + ''; + configureFlags = [ - "--with-ssl-dir=${openssl.dev}/" "--with-tls" ];