From 48a6257474f5fb7daff47b7bc0664c76fae50e13 Mon Sep 17 00:00:00 2001
From: Amin Bandali <bandali@gnu.org>
Date: Sat, 10 Aug 2019 14:35:28 -0400
Subject: shell: export guix’s SSL_CERT_{DIR,FILE} as needed
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

i.e. when guix itself installed, and nss-certs is installed too
---
 .profile | 2 ++
 1 file changed, 2 insertions(+)

(limited to '.profile')

diff --git a/.profile b/.profile
index d726093..8b7956f 100644
--- a/.profile
+++ b/.profile
@@ -40,6 +40,8 @@ fi
 if [ -z "$IS_GUIX_SYSTEM" ]; then
     # if guix is installed
     if [ -x "$(command -v guix)" ]; then
+        export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"
+        export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
         GUIX_PROFILE="$HOME/.guix-profile"
         . "$GUIX_PROFILE/etc/profile"
     fi
-- 
cgit v1.2.3-60-g2f50