From 5987ef903c3c4038395f340f9d7e4b122d151fca Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Date: Fri, 6 Aug 2021 12:22:25 -0400
Subject: [PATCH] Makefile: Fix the SSL certs configuration of Guix container.

* Makefile (portable-release-tarball): Do expose SSL_CERT_FILE
directly; expose SSL_CERT_DIR as /etc/ssl/certs instead, which is
where GnuTLS (hence wget) looks.

Change-Id: If827b33134a0846317efc0034ed27bd122334e23
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 62c4af1a..20b511e0 100644
--- a/Makefile
+++ b/Makefile
@@ -97,7 +97,7 @@ portable-release-tarball:
 	guix environment --container --network \
           --preserve=TARBALLS $(guix-share-tarball-arg) \
           --expose=/usr/bin/env \
-          --expose=$$SSL_CERT_FILE \
+          --expose=$$SSL_CERT_DIR=/etc/ssl/certs \
           --manifest=$(CURDIR)/guix/minimal-manifest.scm \
           -- $(MAKE) release-tarball
 
-- 
GitLab