[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/18: gnu: sbcl-moptilities: Remove sbcl-moptilities reference in cl-mo
From: |
guix-commits |
Subject: |
12/18: gnu: sbcl-moptilities: Remove sbcl-moptilities reference in cl-moptilities. |
Date: |
Fri, 8 Jul 2022 13:33:25 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit 6702441f178bbe1e70286448864be7248693e6b4
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Thu Jul 7 13:38:32 2022 +0200
gnu: sbcl-moptilities: Remove sbcl-moptilities reference in cl-moptilities.
* gnu/packages/lisp-xyz.scm (sbcl-moptilities)[arguments]: Delete the
'test-results' folder.
This takes the closure size from 158 MiB down to 0 MiB :)
---
gnu/packages/lisp-xyz.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 71c0c586d7..47d7a3ef43 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10864,6 +10864,16 @@ compliance control.")
(substitute* "lift-standard.config"
((":relative-to lift-test")
":relative-to moptilities-test"))
+ #t))
+ (add-after 'install 'remove-test-results
+ ;; Otherwise the drag the SBCL package into the closure of the CL
+ ;; package.
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (source-path (string-append out "/share/common-lisp/"
+ (%lisp-type)
"/moptilities/")))
+ (delete-file-recursively
+ (string-append source-path "/test-results")))
#t)))))
(synopsis "Compatibility layer for Common Lisp MOP implementation
differences")
(description
- 05/18: gnu: sbcl-puri: Remove Make reference from closure., (continued)
- 05/18: gnu: sbcl-puri: Remove Make reference from closure., guix-commits, 2022/07/08
- 13/18: gnu: sbcl-cl-gopher: Remove sbcl-cl-gopher reference in cl-gopher, guix-commits, 2022/07/08
- 03/18: gnu: sbcl-ptester: Remove Make reference from closure., guix-commits, 2022/07/08
- 02/18: gnu: sbcl-rt: Remove Make reference from closure., guix-commits, 2022/07/08
- 08/18: gnu: sbcl-rss: Remove Make reference from closure., guix-commits, 2022/07/08
- 14/18: gnu: sbcl-cluffer: Remove bash reference from the closure., guix-commits, 2022/07/08
- 15/18: gnu: sbcl-trivial-clipboard: Replace xclip with xsel to reduce closure size., guix-commits, 2022/07/08
- 16/18: gnu: sbcl-osicat: Remove bash reference from the closure., guix-commits, 2022/07/08
- 06/18: gnu: sbcl-kmrcl: Remove Make reference from closure., guix-commits, 2022/07/08
- 07/18: gnu: sbcl-cl-base64: Remove Make reference from closure., guix-commits, 2022/07/08
- 12/18: gnu: sbcl-moptilities: Remove sbcl-moptilities reference in cl-moptilities.,
guix-commits <=
- 04/18: gnu: sbcl-xlunit: Remove Make reference from closure., guix-commits, 2022/07/08
- 18/18: gnu: cl-slime-swank: Store .fasl in the ASDF registry., guix-commits, 2022/07/08
- 10/18: gnu: sbcl-clsql: Remove Make reference from closure., guix-commits, 2022/07/08
- 11/18: gnu: sbcl-slime-swank: Remove gawk reference from closure., guix-commits, 2022/07/08
- 17/18: gnu: sbcl-dexador: Remove unneeded depedencies to reduce closure size., guix-commits, 2022/07/08