summary refs log tree commit diff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2022-07-07 14:04:51 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2022-07-08 19:32:45 +0200
commit10ededddd3805b6ba945c9af3f059d8a4ca330fd (patch)
tree1b6522e0a3f96d0c91bc9006e00fe58a5c399461
parent1004c54c2e0786ceb210405de96f1106e043ba76 (diff)
downloadguix-10ededddd3805b6ba945c9af3f059d8a4ca330fd.tar.gz
gnu: sbcl-osicat: Remove bash reference from the closure.
* gnu/packages/lisp-xyz.scm (sbcl-osicat)[source]: Remove unneeded release.sh
file.

This takes the closure size of cl-osicat from 40 MiB down to 0 MiB.
-rw-r--r--gnu/packages/lisp-xyz.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 90c89419b9..96a4c8bd5b 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10901,7 +10901,12 @@ MOP easier to use.")
                (commit commit)))
          (file-name (git-file-name "cl-osicat" version))
          (sha256
-          (base32 "1ilag0b0xn97acc0m1q93vwp2y3md9a586858zfx04d8wpbvk8sz"))))
+          (base32 "1ilag0b0xn97acc0m1q93vwp2y3md9a586858zfx04d8wpbvk8sz"))
+         (snippet
+          '(begin
+             ;; The useless release.sh drags `bash' into the closure.
+             (delete-file "scripts/release.sh")
+             #t))))
       (build-system asdf-build-system/sbcl)
       (inputs
        (list sbcl-alexandria sbcl-cffi sbcl-trivial-features))