From a54cc22d4d20eb51f01c19562b6de5468122c874 Mon Sep 17 00:00:00 2001 From: Piotr Bogdan Date: Fri, 4 Jan 2019 19:33:51 +0000 Subject: [PATCH] ssmtp: link with libcrypto explicitly --- pkgs/tools/networking/ssmtp/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/networking/ssmtp/default.nix b/pkgs/tools/networking/ssmtp/default.nix index 4c906812f64d..22f60bfcee55 100644 --- a/pkgs/tools/networking/ssmtp/default.nix +++ b/pkgs/tools/networking/ssmtp/default.nix @@ -36,6 +36,8 @@ stdenv.mkDerivation { buildInputs = stdenv.lib.optional tlsSupport openssl; + NIX_LDFLAGS = stdenv.lib.optional tlsSupport [ "-lcrypto" ]; + meta = with stdenv.lib; { platforms = platforms.linux; license = licenses.gpl2;