ambrevar pushed a commit to branch master
in repository guix.
commit fcac44c01253a723f4fec0e83178a553f9992a12
Author: Pierre Neidhardt <[email protected]>
AuthorDate: Thu Jul 7 10:45:40 2022 +0200
gnu: sbcl-slime-swank: Remove gawk reference from closure.
* gnu/packages/lisp-xyz.scm (sbcl-slime-swank)[source]: Delete the 'doc'
folder.
This takes the closure size from 159 MiB down to 156 MiB.
---
gnu/packages/lisp-xyz.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 0ec698b5a4..71c0c586d7 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -2292,7 +2292,14 @@ writing code that contains string literals that contain
code themselves.")
(url "https://github.com/slime/slime/")
(commit (string-append "v" version))))
(sha256
- (base32 "1s5mbljlz22pb90gwbd380nighkz6gdxl77hc08gri7wwr5gy5n2"))))
+ (base32 "1s5mbljlz22pb90gwbd380nighkz6gdxl77hc08gri7wwr5gy5n2"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; The doc folder drags `gawk' into the closure. Doc is already
+ ;; provided by emacs-slime.
+ `(begin
+ (delete-file-recursively "doc")
+ #t))))
(build-system asdf-build-system/sbcl)
(arguments
'(#:asd-systems '("swank")))