[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: stumpwm: Don't install build artifacts.
From: |
guix-commits |
Subject: |
01/05: gnu: stumpwm: Don't install build artifacts. |
Date: |
Sat, 17 Jun 2023 05:26:35 -0400 (EDT) |
glv pushed a commit to branch master
in repository guix.
commit 2fa9a183d711df67dfbb5bfafed56edd2ef39ac0
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Sat Jun 17 10:06:12 2023 +0200
gnu: stumpwm: Don't install build artifacts.
* gnu/packages/wm.scm (stumpwm)[arguments]: Add 'remove-temporary-cache'
phase.
(stumpwm+slynk)[arguments]: Delete 'remove-temporary-cache' phase
inherited
from stumpwm.
---
gnu/packages/wm.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index e707a15785..c380abc0e8 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2044,7 +2044,11 @@ Wayland compositors supporting the wlr-output-management
protocol.")
(invoke "./autogen.sh")
(invoke "sh" "./configure" "SHELL=sh")
(apply invoke "make" "stumpwm.info" make-flags)
- (install-file "stumpwm.info" info)))))))
+ (install-file "stumpwm.info" info))))
+ (add-after 'install-manual 'remove-temporary-cache
+ (lambda* (#:key outputs #:allow-other-keys)
+ (delete-file-recursively (string-append (assoc-ref outputs "lib")
+ "/.cache")))))))
(synopsis "Window manager written in Common Lisp")
(description
"Stumpwm is a window manager written entirely in Common Lisp.
@@ -2087,6 +2091,7 @@ productive, customizable lisp based systems.")
(delete 'copy-source)
(delete 'build)
(delete 'check)
+ (delete 'remove-temporary-cache)
(delete 'cleanup)))))))
(define stumpwm-contrib