me
/
guix
Archived
1
0
Fork 0

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.
master
Timothy Sample 2021-12-23 22:32:07 -05:00
parent d669f24ee4
commit 3b6755defe
No known key found for this signature in database
GPG Key ID: 2AC6A5EC1C357C59
1 changed files with 10 additions and 2 deletions

View File

@ -55,7 +55,8 @@
#:select (alsa-utils crda eudev e2fsprogs fuse gpm kbd lvm2 rng-tools))
#:use-module (gnu packages bash)
#: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 hurd) (hurd)
#:use-module (gnu packages package-management)
@ -1709,7 +1710,14 @@ proxy of 'guix-daemon'...~%")
(string-append "GUIX_LOCPATH="
#$glibc-utf8-locales
"/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
(list (string-append "http_proxy=" proxy)
(string-append "https_proxy=" proxy))