aboutsummaryrefslogtreecommitdiff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2015-03-03 02:14:14 -0500
committerMark H Weaver <mhw@netris.org>2015-03-03 13:49:12 -0500
commit78ab0746a523cc63eca0fd2fe55ac6c5b1ec5d5e (patch)
treeea331dac650bba92fcbb49db675a844324d13e1e /gnu/system.scm
parent536c3ee4e3741926c3791e04e025f5cab6aacf2b (diff)
downloadguix-78ab0746a523cc63eca0fd2fe55ac6c5b1ec5d5e.tar
guix-78ab0746a523cc63eca0fd2fe55ac6c5b1ec5d5e.tar.gz
system: Add /etc/ssl symlink; set needed variables in /etc/profile.
* gnu/build/activation.scm (activate-etc): Create /etc/ssl symlink. * gnu/system.scm (etc-directory): Set SSL_CERT_DIR, SSL_CERT_FILE, and GIT_SSL_CAINFO in /etc/profile. Co-Authored-By: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/system.scm')
-rw-r--r--gnu/system.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 3fe78339b7..5a3842fbb8 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -453,6 +453,11 @@ export EMACSLOADPATH=:/etc/emacs
# when /etc/machine-id is missing. Make sure these warnings are non-fatal.
export DBUS_FATAL_WARNINGS=0
+# These variables are honored by OpenSSL (libssl) and Git.
+export SSL_CERT_DIR=/etc/ssl/certs
+export SSL_CERT_FILE=\"$SSL_CERT_DIR/ca-certificates.crt\"
+export GIT_SSL_CAINFO=\"$SSL_CERT_FILE\"
+
# Allow Aspell to find dictionaries installed in the user profile.
export ASPELL_CONF=\"dict-dir $HOME/.guix-profile/lib/aspell\"
"))