From d0034d151ba95473cdad0f7a4e78eaa4618c46bb Mon Sep 17 00:00:00 2001 From: Tom Sydney Kerckhove Date: Fri, 10 Apr 2020 17:04:53 +0200 Subject: [PATCH] imapfilter: add SSLCAFILE make flag This fixes: https://github.com/NixOS/nixpkgs/issues/78304 See this upstream issue: https://github.com/lefcha/imapfilter/issues/201 --- pkgs/applications/networking/mailreaders/imapfilter.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/mailreaders/imapfilter.nix b/pkgs/applications/networking/mailreaders/imapfilter.nix index fad018011ba7..b677d82dce47 100644 --- a/pkgs/applications/networking/mailreaders/imapfilter.nix +++ b/pkgs/applications/networking/mailreaders/imapfilter.nix @@ -10,8 +10,11 @@ stdenv.mkDerivation rec { rev = "v${version}"; sha256 = "0f65sg6hhv6778fxwsz4hvarbm97dsb8jj0mg7a9qs273r35pqck"; }; + makeFlags = [ + "SSLCAFILE=/etc/ssl/certs/ca-bundle.crt" + "PREFIX=$(out)" + ]; - makeFlagsArray = "PREFIX=$(out)"; propagatedBuildInputs = [ openssl pcre lua ]; meta = {