[rc/zsh] add a few env vars related to guix and certs
authorAmin Bandali <bandali@gnu.org>
Mon, 10 Dec 2018 05:28:27 +0000 (00:28 -0500)
committerAmin Bandali <bandali@gnu.org>
Mon, 10 Dec 2018 05:28:27 +0000 (00:28 -0500)
also do guix package -i nss-certs in conjunction with this

rc.org

diff --git a/rc.org b/rc.org
index 02617e9..3f85136 100644 (file)
--- a/rc.org
+++ b/rc.org
@@ -5384,6 +5384,9 @@ if [ -e /home/amin/.nix-profile/etc/profile.d/nix.sh ]; then . /home/amin/.nix-p
 
 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
 export PATH="/$HOME/.config/guix/current/bin${PATH:+:}$PATH"
+export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"
+export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
+export GIT_SSL_CAINFO="$SSL_CERT_FILE"
 #+end_src
 
 *** zshenv