mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
services: guix: Add tar and gzip to PATH.
* gnu/services/base.scm (guix-shepherd-service): Add the PATH environment-variable and populate it with tar and gzip.
This commit is contained in:
parent
d669f24ee4
commit
3b6755defe
1 changed files with 10 additions and 2 deletions
|
@ -55,7 +55,8 @@ (define-module (gnu services base)
|
||||||
#:select (alsa-utils crda eudev e2fsprogs fuse gpm kbd lvm2 rng-tools))
|
#:select (alsa-utils crda eudev e2fsprogs fuse gpm kbd lvm2 rng-tools))
|
||||||
#:use-module (gnu packages bash)
|
#:use-module (gnu packages bash)
|
||||||
#:use-module ((gnu packages base)
|
#:use-module ((gnu packages base)
|
||||||
#:select (coreutils glibc glibc-utf8-locales))
|
#:select (coreutils glibc glibc-utf8-locales tar))
|
||||||
|
#:use-module ((gnu packages compression) #:select (gzip))
|
||||||
#:autoload (gnu packages guile-xyz) (guile-netlink)
|
#:autoload (gnu packages guile-xyz) (guile-netlink)
|
||||||
#:autoload (gnu packages hurd) (hurd)
|
#:autoload (gnu packages hurd) (hurd)
|
||||||
#:use-module (gnu packages package-management)
|
#:use-module (gnu packages package-management)
|
||||||
|
@ -1709,7 +1710,14 @@ (define discover?
|
||||||
(string-append "GUIX_LOCPATH="
|
(string-append "GUIX_LOCPATH="
|
||||||
#$glibc-utf8-locales
|
#$glibc-utf8-locales
|
||||||
"/lib/locale")
|
"/lib/locale")
|
||||||
"LC_ALL=en_US.utf8")
|
"LC_ALL=en_US.utf8"
|
||||||
|
;; Make 'tar' and 'gzip' available so
|
||||||
|
;; that 'guix perform-download' can use
|
||||||
|
;; them when downloading from Software
|
||||||
|
;; Heritage via '(guix swh)'.
|
||||||
|
(string-append "PATH="
|
||||||
|
#$(file-append tar "/bin") ":"
|
||||||
|
#$(file-append gzip "/bin")))
|
||||||
(if proxy
|
(if proxy
|
||||||
(list (string-append "http_proxy=" proxy)
|
(list (string-append "http_proxy=" proxy)
|
||||||
(string-append "https_proxy=" proxy))
|
(string-append "https_proxy=" proxy))
|
||||||
|
|
Loading…
Reference in a new issue