me
/
guix
Archived
1
0
Fork 0

gnu: uwufetch: Manually create missing include dir.

* gnu/packages/admin.scm (uwufetch) [arguments]: Manually create missing
include dir.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Juliana Sims 2023-06-26 13:14:05 -04:00 committed by Ludovic Courtès
parent daadcb7162
commit 1a2cf676df
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 1 deletions

View File

@ -4027,7 +4027,11 @@ you are running, what theme or icon set you are using, etc.")
(lambda _
(substitute* "uwufetch.c"
(("(/usr(/local)?)(.*;)" all _ _ rest)
(string-append #$output rest))))))))
(string-append #$output rest)))))
;; TODO this will be fixed in the next release of uwufetch
(add-before 'install 'make-include-dir
(lambda _
(mkdir-p (string-append #$output "/include")))))))
(inputs (list lshw
;; viu XXX not yet packaged in Guix
xwininfo))