From baed82efa7d3ad714d40e38c59808c1e82e708d7 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 7 Jul 2022 10:09:05 +0200 Subject: [PATCH] gnu: sbcl-xlunit: Remove Make reference from closure. * gnu/packages/lisp-check.scm (sbcl-xlunit)[source]: Delete the 'debian' folder. This takes the closure size from 209 MiB down to 151 MiB. --- gnu/packages/lisp-check.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lisp-check.scm b/gnu/packages/lisp-check.scm index b52f44e23f..39f7d8ca61 100644 --- a/gnu/packages/lisp-check.scm +++ b/gnu/packages/lisp-check.scm @@ -941,7 +941,13 @@ (define-public sbcl-xlunit (file-name (git-file-name name version)) (sha256 (base32 - "0argfmp9nghs4sihyj3f8ch9qfib2b7ll07v5m9ziajgzsfl5xw3")))) + "0argfmp9nghs4sihyj3f8ch9qfib2b7ll07v5m9ziajgzsfl5xw3")) + (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) (arguments '(#:phases