mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: uwufetch: Add and use missing inputs.
* gnu/packages/admin.scm (uwufetch) [inputs]: Add missing inputs. [phases]: Use the fully-qualified paths of the input gawk and grep. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
6bbef3d9a2
commit
7b11cfd19e
1 changed files with 7 additions and 0 deletions
|
@ -4025,6 +4025,11 @@ (define-public uwufetch
|
|||
(delete 'configure)
|
||||
(add-before 'build 'patch-source-paths
|
||||
(lambda _
|
||||
(substitute* "fetch.c"
|
||||
(("grep")
|
||||
#$(file-append grep "/bin/grep"))
|
||||
(("awk")
|
||||
#$(file-append gawk "/bin/awk")))
|
||||
(substitute* "uwufetch.c"
|
||||
(("(/usr(/local)?)(.*;)" all _ _ rest)
|
||||
(string-append #$output rest)))))
|
||||
|
@ -4033,6 +4038,8 @@ (define-public uwufetch
|
|||
(lambda _
|
||||
(mkdir-p (string-append #$output "/include")))))))
|
||||
(inputs (list lshw
|
||||
gawk
|
||||
grep
|
||||
;; viu XXX not yet packaged in Guix
|
||||
xwininfo))
|
||||
(home-page "https://github.com/TheDarkBug/uwufetch")
|
||||
|
|
Loading…
Reference in a new issue