[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: services: guix: Add tar and gzip to PATH.
From: |
guix-commits |
Subject: |
branch master updated: services: guix: Add tar and gzip to PATH. |
Date: |
Sun, 16 Jan 2022 19:02:28 -0500 |
This is an automated email from the git hooks/post-receive script.
samplet pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 3b6755defe services: guix: Add tar and gzip to PATH.
3b6755defe is described below
commit 3b6755defe44c4795e134a46a7ef7b6009146872
Author: Timothy Sample <samplet@ngyro.com>
AuthorDate: Thu Dec 23 22:32:07 2021 -0500
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.
---
gnu/services/base.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index e46bb591a9..cd8d512edc 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: services: guix: Add tar and gzip to PATH.,
guix-commits <=