mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
Revert "services: base: Add extra-env support to guix-configuration."
This reverts commit 78a9b4f996
. It was pushed by
error, while not reviewed yet.
This commit is contained in:
parent
1b7e3196e4
commit
699d104146
2 changed files with 3 additions and 11 deletions
|
@ -18482,10 +18482,6 @@ herd set-http-proxy guix-daemon
|
|||
@item @code{tmpdir} (default: @code{#f})
|
||||
A directory path where the @command{guix-daemon} will perform builds.
|
||||
|
||||
@item @code{extra-env} (default: @code{'()})
|
||||
Environment variables to be set before starting the daemon, as a list of
|
||||
@code{key=value} strings.
|
||||
|
||||
@end table
|
||||
@end deftp
|
||||
|
||||
|
|
|
@ -198,7 +198,6 @@ (define-module (gnu services base)
|
|||
guix-configuration-generate-substitute-key?
|
||||
guix-configuration-extra-options
|
||||
guix-configuration-log-file
|
||||
guix-configuration-extra-env
|
||||
|
||||
guix-extension
|
||||
guix-extension?
|
||||
|
@ -1655,9 +1654,7 @@ (define-record-type* <guix-configuration>
|
|||
(http-proxy guix-http-proxy ;string | #f
|
||||
(default #f))
|
||||
(tmpdir guix-tmpdir ;string | #f
|
||||
(default #f))
|
||||
(extra-env guix-configuration-extra-env ;list of strings
|
||||
(default '())))
|
||||
(default #f)))
|
||||
|
||||
(define %default-guix-configuration
|
||||
(guix-configuration))
|
||||
|
@ -1713,7 +1710,7 @@ (define (guix-shepherd-service config)
|
|||
(guix build-group build-accounts authorize-key? authorized-keys
|
||||
use-substitutes? substitute-urls max-silent-time timeout
|
||||
log-compression discover? extra-options log-file
|
||||
http-proxy tmpdir chroot-directories extra-env)
|
||||
http-proxy tmpdir chroot-directories)
|
||||
(list (shepherd-service
|
||||
(documentation "Run the Guix daemon.")
|
||||
(provision '(guix-daemon))
|
||||
|
@ -1802,8 +1799,7 @@ (define discover?
|
|||
(if proxy
|
||||
(list (string-append "http_proxy=" proxy)
|
||||
(string-append "https_proxy=" proxy))
|
||||
'())
|
||||
'#$extra-env)
|
||||
'()))
|
||||
|
||||
#:log-file #$log-file))))
|
||||
(stop #~(make-kill-destructor))))))
|
||||
|
|
Loading…
Reference in a new issue