From b48e086e32a5b95cb13cf446156a22a8d22873ff Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 7 Jul 2022 10:28:18 +0200 Subject: [PATCH] gnu: sbcl-kmrcl: Remove Make reference from closure. * gnu/packages/lisp-xyz.scm (sbcl-kmrcl)[source]: Delete the 'debian' folder. This takes the closure size from 209 MiB down to 151 MiB. --- gnu/packages/lisp-xyz.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 5a31097f92..7d4dec0b4e 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -4056,7 +4056,13 @@ (define-public sbcl-kmrcl (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "06gx04mah5nc8w78s0j8628divbf1s5w7af8w7pvzb2d5mgvrbd2")))) + (base32 "06gx04mah5nc8w78s0j8628divbf1s5w7af8w7pvzb2d5mgvrbd2")) + (modules '((guix build utils))) + (snippet + ;; The useless bundled debian folder drags `make' into the closure. + `(begin + (delete-file-recursively "debian") + #t)))) (build-system asdf-build-system/sbcl) (inputs (list sbcl-rt))