From 1a2cf676df87e8a112db00968ed0734f2b1a0e6e Mon Sep 17 00:00:00 2001 From: Juliana Sims Date: Mon, 26 Jun 2023 13:14:05 -0400 Subject: [PATCH] gnu: uwufetch: Manually create missing include dir. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/admin.scm (uwufetch) [arguments]: Manually create missing include dir. Signed-off-by: Ludovic Courtès --- gnu/packages/admin.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 4b2d94a4d9..33f9b703a7 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -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))