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>
This commit is contained in:
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

View file

@ -4027,7 +4027,11 @@ (define-public uwufetch
(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))