guix-commits
[Top][All Lists]
Advanced

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

07/08: gnu: uwufetch: Manually create missing include dir.


From: guix-commits
Subject: 07/08: gnu: uwufetch: Manually create missing include dir.
Date: Tue, 8 Aug 2023 12:03:18 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 1a2cf676df87e8a112db00968ed0734f2b1a0e6e
Author: Juliana Sims <juli@incana.org>
AuthorDate: Mon Jun 26 13:14:05 2023 -0400

    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>
---
 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 @@ 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))



reply via email to

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