[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
17/22: gnu: inxi-minimal: Reduce reliance on input names.
From: |
guix-commits |
Subject: |
17/22: gnu: inxi-minimal: Reduce reliance on input names. |
Date: |
Tue, 13 Dec 2022 21:10:15 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit bd268c21e531f0cc88f8920e0abcf1f33bf822b2
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Dec 11 01:00:02 2022 +0100
gnu: inxi-minimal: Reduce reliance on input names.
* gnu/packages/admin.scm (inxi-minimal)[arguments]:
Use SEARCH-INPUT-FILE.
---
gnu/packages/admin.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 4f39aa3350..654fd55e17 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4332,10 +4332,14 @@ Python loading in HPC environments.")
(use-modules (guix build utils)
(ice-9 match)
(srfi srfi-26))
- (setenv "PATH" (string-append
- (assoc-ref %build-inputs "bash") "/bin" ":"
- (assoc-ref %build-inputs "gzip") "/bin" ":"
- (assoc-ref %build-inputs "perl") "/bin" ":"))
+ (setenv "PATH" (string-join
+ (map (lambda (file)
+ (dirname (search-input-file %build-inputs
+ file)))
+ (list "bin/bash"
+ "bin/gzip"
+ "bin/perl"))
+ ":"))
(copy-recursively (assoc-ref %build-inputs "source")
,(string-append real-name "-" version))
(with-directory-excursion ,(string-append real-name "-" version)
- 08/22: gnu: libdeflate: Update to 1.15., (continued)
- 08/22: gnu: libdeflate: Update to 1.15., guix-commits, 2022/12/13
- 10/22: gnu: global: Update to 6.6.9., guix-commits, 2022/12/13
- 20/22: gnu: nmrpflash: Rephrase synopsis., guix-commits, 2022/12/13
- 11/22: gnu: botan: Update to 2.19.3., guix-commits, 2022/12/13
- 22/22: gnu: isc-dhcp: Update description., guix-commits, 2022/12/13
- 15/22: gnu: inxi-minimal: Update to 3.3.24-1., guix-commits, 2022/12/13
- 14/22: gnu: hyfetch: Update to 1.4.4., guix-commits, 2022/12/13
- 21/22: gnu: isc-dhcp: Update to 4.4.3-P1 [fixes CVE-2022-2928, CVE-2022-2929]., guix-commits, 2022/12/13
- 19/22: gnu: nmrpflash: Update to 0.9.19., guix-commits, 2022/12/13
- 12/22: gnu: dash: Update to 0.5.12., guix-commits, 2022/12/13
- 17/22: gnu: inxi-minimal: Reduce reliance on input names.,
guix-commits <=
- 18/22: gnu: nnn: Update to 4.7., guix-commits, 2022/12/13
- 16/22: gnu: inxi-minimal: Remove input labels., guix-commits, 2022/12/13