[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: dehydrated: Don't rely on implicit input labels.
From: |
guix-commits |
Subject: |
03/03: gnu: dehydrated: Don't rely on implicit input labels. |
Date: |
Mon, 31 Oct 2022 16:09:28 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 08d60c8691f1ce2291c557022257170881567d76
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 30 02:00:00 2022 +0100
gnu: dehydrated: Don't rely on implicit input labels.
* gnu/packages/tls.scm (dehydrated)[arguments]:
Use SEARCH-INPUT-FILE instead of ASSOC-REF.
---
gnu/packages/tls.scm | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 56857ce1e4..b5926f35ad 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -1156,18 +1156,19 @@ coding footprint.")
(setenv "PATH" bash)
(wrap-program "dehydrated"
`("PATH" ":" prefix
- ,(map (lambda (dir)
- (string-append dir "/bin"))
- (map (lambda (input)
- (assoc-ref %build-inputs input))
- '("coreutils"
- "curl"
- "diffutils"
- "gawk"
- "grep"
- "openssl"
- "sed"
- "util-linux-with-udev"))))))))))
+ ,(map (lambda (file)
+ (dirname (search-input-file %build-inputs file)))
+ (list
+ ;; From check_dependencies() — keep them in sync.
+ "bin/grep"
+ "bin/diff"
+ "bin/sed"
+ "bin/awk"
+ "bin/curl"
+ "bin/cut" ; also mktemp, head, tail
+ "bin/hexdump"
+ ;; Additional requirements.
+ "bin/openssl")))))))))
(inputs
(list bash
coreutils