summaryrefslogtreecommitdiff
path: root/guix/forge
diff options
context:
space:
mode:
Diffstat (limited to 'guix/forge')
-rw-r--r--guix/forge/forge.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/guix/forge/forge.scm b/guix/forge/forge.scm
index bfb2169..68abe2f 100644
--- a/guix/forge/forge.scm
+++ b/guix/forge/forge.scm
@@ -32,6 +32,7 @@
#:use-module (guix channels)
#:use-module (guix modules)
#:use-module (guix packages)
+ #:use-module (guix profiles)
#:use-module (guix records)
#:use-module (guix store)
#:use-module ((forge guile-git) #:select (guile-git))
@@ -285,6 +286,13 @@ daemon endpoint."
(define (code->channel code)
(eval code (current-module)))
+ (setenv "SSL_CERT_DIR"
+ #$(file-append nss-certs "/etc/ssl/certs"))
+ (setenv "SSL_CERT_FILE"
+ #$(file-append (profile
+ (content (packages->manifest (list git-minimal nss-certs))))
+ "/etc/ssl/certs/ca-certificates.crt"))
+
(parameterize ((%daemon-socket-uri #$guix-daemon-uri))
(list-transduce
;; Build derivations and report success or failure.