From 04e3aa711a6813369ac52bdf6e10861ffc26d185 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Thu, 7 Jul 2022 10:28:34 +0200 Subject: [PATCH] gnu: sbcl-cl-base64: Remove Make reference from closure. * gnu/packages/lisp-xyz.scm (sbcl-cl-base64)[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 7d4dec0b4e..7b9c279684 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -4092,7 +4092,13 @@ (define-public sbcl-cl-base64 (commit commit))) (file-name (git-file-name name version)) (sha256 - (base32 "12jj54h0fs6n237cvnp8v6hn0imfksammq22ys6pi0gwz2w47rbj")))) + (base32 "12jj54h0fs6n237cvnp8v6hn0imfksammq22ys6pi0gwz2w47rbj")) + (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) (native-inputs ; For tests. (list sbcl-ptester sbcl-kmrcl))