mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
gnu: inxi-minimal: Reduce reliance on input names.
* gnu/packages/admin.scm (inxi-minimal)[arguments]: Use SEARCH-INPUT-FILE.
This commit is contained in:
parent
932409da9c
commit
bd268c21e5
1 changed files with 8 additions and 4 deletions
|
@ -4332,10 +4332,14 @@ (define-public inxi-minimal
|
|||
(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)
|
||||
|
|
Loading…
Reference in a new issue