aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-09-06 13:49:06 +0200
committerLudovic Courtès <ludo@gnu.org>2018-09-06 13:49:06 +0200
commit7df945656cd448b13969f90a7a95d8a4e9d442f7 (patch)
tree176e21f6e6c59859561d3d8d7e80f4c123d279f4 /gnu
parent3ffcad7df3ab8947010814f61b32ce14ea80e780 (diff)
downloadpatches-7df945656cd448b13969f90a7a95d8a4e9d442f7.tar
patches-7df945656cd448b13969f90a7a95d8a4e9d442f7.tar.gz
services: hpcguix-web: Set SSL_CERT_DIR.
Previously Git pulls over HTTPS would fail with: guix/git.scm:132:7: In procedure update-cached-checkout: Throw to key `git-error' with args `(#<<git-error> code: -17 message: "the SSL certificate is invalid" class: 16>)'. * gnu/services/web.scm (hpcguix-web-shepherd-service): Pass "SSL_CERT_DIR=/etc/ssl/certs". * doc/guix.texi (Web Services): Mention certificates.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/services/web.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/web.scm b/gnu/services/web.scm
index 467656444e..3778efd048 100644
--- a/gnu/services/web.scm
+++ b/gnu/services/web.scm
@@ -967,7 +967,8 @@ a webserver.")
#:user "hpcguix-web"
#:group "hpcguix-web"
#:environment-variables
- (list "XDG_CACHE_HOME=/var/cache")))
+ (list "XDG_CACHE_HOME=/var/cache"
+ "SSL_CERT_DIR=/etc/ssl/certs")))
(stop #~(make-kill-destructor))))))
(define hpcguix-web-service-type