guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64305] [PATCH 2/4] gnu: uwufetch: Manually create missing include d


From: Juliana Sims
Subject: [bug#64305] [PATCH 2/4] gnu: uwufetch: Manually create missing include dir.
Date: Mon, 26 Jun 2023 13:14:05 -0400

* gnu/packages/admin.scm (uwufetch) [arguments]: Manually create missing
include dir.
---
 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 39d363272b..0af0ef4051 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4024,7 +4024,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))
-- 
2.40.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]