mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: dehydrated: Don't rely on implicit input labels.
* gnu/packages/tls.scm (dehydrated)[arguments]: Use SEARCH-INPUT-FILE instead of ASSOC-REF.
This commit is contained in:
parent
c744992715
commit
08d60c8691
1 changed files with 13 additions and 12 deletions
|
@ -1156,18 +1156,19 @@ (define-public dehydrated
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue