From 7c1a7bf484cb6078798e132f16d1600b9a36349f Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Mon, 12 Dec 2016 21:04:43 -0500 Subject: gnu: acme-client: Provide path to certificates. * gnu/packages/tls.scm (acme-client)[arguments]: Add 'patch-paths' phase. --- gnu/packages/tls.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index f5ffe42b91..e577421fac 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -717,6 +717,13 @@ number generator") (string-append "PREFIX=" (assoc-ref %outputs "out"))) #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (let ((pem (string-append (assoc-ref inputs "libressl") + "/etc/ssl/cert.pem"))) + (substitute* "http.c" + (("/etc/ssl/cert.pem") pem)) + #t))) (delete 'configure)))) ; no './configure' script (native-inputs `(("pkg-config" ,pkg-config))) -- cgit v1.2.3