ambrevar pushed a commit to branch master
in repository guix.

commit 681a02916dc58a9c8723ed1d35fabd23a54a5c81
Author: Pierre Neidhardt <[email protected]>
AuthorDate: Thu Jul 7 10:30:26 2022 +0200

    gnu: sbcl-uffi: Remove Make reference from closure.
    
    * gnu/packages/lisp-xyz.scm (sbcl-uffi)[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 d0f8ca824c..a1528d16ce 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10354,7 +10354,13 @@ interface for MySQL, PostgreSQL and SQLite.")
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1hqszvz0a3wk4s9faa83sc3vjxcb5rxmjclyr17yzwg55z733kry"))))
+        (base32 "1hqszvz0a3wk4s9faa83sc3vjxcb5rxmjclyr17yzwg55z733kry"))
+       (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
      `(#:tests? #f ; TODO: Fix use of deprecated ASDF functions

Reply via email to