all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Common Lisp executables: purging spurious reference to libraries?
@ 2018-12-02 11:45 Pierre Neidhardt
  0 siblings, 0 replies; only message in thread
From: Pierre Neidhardt @ 2018-12-02 11:45 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1510 bytes --]

Hi Guix!

I'm packaging the new rewrite of Next (https://next.atlas.engineer).
It's a Common Lisp application and the executable should be
self-contained, it does not need to depend on SBCL or the like.

However, `guix size next` return the full dependency tree of Common Lisp
libraries.

If I inspect the executable, I see that it contains a bunch of references:

--8<---------------cut here---------------start------------->8---
> strings next | grep sbcl
sbcl_home
sbcl_fallback_sigsegv_handler
sbcl_main
/sbcl.core
Usage: sbcl [runtime-options] [toplevel-options] [user-options]
website <http://www.sbcl.org/>.
More information about SBCL is available at <http://www.sbcl.org/>.
/gnu/store/bbjhsli5dssp2wh9gi9749c9mny46lcy-sbcl-1.4.13/lib/sbcl/
sbcl_home
sbcl_fallback_sigsegv_handler
sbcl_main
                                               to sbcl-devel.~
sbcl_fallback_sigsegv_handler
sbcl_home
sbcl_main
/gnu/store/7jvzkfcjxr6cqb9hvqv2rdcvr18fp7yd-sbcl-next-1.0.0-1.b889934/bin/next-exec.lisp
/gnu/store/n4l31ls9s50v5plws4yq7wq75c9hahm4-sbcl-next-1.0.0-1.b889934-lib/share/common-lisp/sbcl-source/next/source/package.lisp
/gnu/store/dxx2i719izq7jmxxj31c3pxcnhvkfwx6-sbcl-unix-opts-0.1.7/share/common-lisp/sbcl-source/unix-opts/unix-opts.lisp
...
--8<---------------cut here---------------end--------------->8---

I think this is why Guix keeps the Common Lisp libraries in the
closure.

Any idea how to remove them?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-02 11:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-02 11:45 Common Lisp executables: purging spurious reference to libraries? Pierre Neidhardt

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.