aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJuliana Sims <juli@incana.org>2023-06-26 13:14:05 -0400
committerLudovic Courtès <ludo@gnu.org>2023-08-08 18:01:55 +0200
commit1a2cf676df87e8a112db00968ed0734f2b1a0e6e (patch)
tree5de02269d65a2a548c8077dda08209e83755de0f /gnu
parentdaadcb7162d12e73e01dbd35ff5dccc925088397 (diff)
downloadguix-1a2cf676df87e8a112db00968ed0734f2b1a0e6e.tar.gz
guix-1a2cf676df87e8a112db00968ed0734f2b1a0e6e.zip
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>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm6
1 files changed, 5 insertions, 1 deletions
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))