me
/
guix
Archived
1
0
Fork 0

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 :)
master
Pierre Neidhardt 2022-07-07 13:38:32 +02:00
parent fcac44c012
commit 6702441f17
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 10 additions and 0 deletions

View File

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