From: Amin Bandali Date: Sat, 10 Aug 2019 18:35:28 +0000 (-0400) Subject: shell: export guix’s SSL_CERT_{DIR,FILE} as needed X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/48a6257474f5fb7daff47b7bc0664c76fae50e13 shell: export guix’s SSL_CERT_{DIR,FILE} as needed i.e. when guix itself installed, and nss-certs is installed too --- 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