summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-08-10 14:35:28 -0400
committerAmin Bandali <bandali@gnu.org>2019-08-10 14:35:28 -0400
commit48a6257474f5fb7daff47b7bc0664c76fae50e13 (patch)
tree4f4953d99d692ae76a2286b5698062f1a8427c47 /.profile
parent6ce759dea0df6654749d5a12167f2d2ee4f85c26 (diff)
downloadconfigs-48a6257474f5fb7daff47b7bc0664c76fae50e13.tar.gz
configs-48a6257474f5fb7daff47b7bc0664c76fae50e13.tar.xz
configs-48a6257474f5fb7daff47b7bc0664c76fae50e13.zip
shell: export guix’s SSL_CERT_{DIR,FILE} as needed
i.e. when guix itself installed, and nss-certs is installed too
Diffstat (limited to '')
-rw-r--r--.profile2
1 files changed, 2 insertions, 0 deletions
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