mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
services: cuirass: Set 'GIT_SSL_CAINFO' and 'GIT_EXEC_PATH'.
Reported by Ricardo Wurmus. * gnu/services/cuirass.scm (cuirass-shepherd-service): Pass #:environment-variables.
This commit is contained in:
parent
03317cbfc4
commit
75bddb13eb
1 changed files with 7 additions and 0 deletions
|
@ -23,6 +23,7 @@ (define-module (gnu services cuirass)
|
|||
#:use-module (guix records)
|
||||
#:use-module (gnu packages admin)
|
||||
#:autoload (gnu packages ci) (cuirass)
|
||||
#:autoload (gnu packages version-control) (git)
|
||||
#:use-module (gnu services)
|
||||
#:use-module (gnu services base)
|
||||
#:use-module (gnu services shepherd)
|
||||
|
@ -105,6 +106,12 @@ (define (cuirass-shepherd-service config)
|
|||
#$@(if fallback? '("--fallback") '())
|
||||
#$@(if (null? load-path) '()
|
||||
`("--load-path" ,(string-join load-path ":"))))
|
||||
|
||||
#:environment-variables
|
||||
(list "GIT_SSL_CAINFO=/etc/ssl/certs/ca-certificates.crt"
|
||||
(string-append "GIT_EXEC_PATH=" #$git
|
||||
"/libexec/git-core"))
|
||||
|
||||
#:user #$user
|
||||
#:group #$group
|
||||
#:log-file #$log-file))
|
||||
|
|
Loading…
Reference in a new issue