unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* partial guix pack?
@ 2022-07-26 18:18 Andy Tai
  2022-08-09 20:29 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Tai @ 2022-07-26 18:18 UTC (permalink / raw)
  To: help-guix

Can a guix pack be partial?  By that I meant one package that is not
completely stand alone but only contains a subset of needed software,
bundled libraries.  for example, one that bundles specific version of
gtk+ but not glibc?  Of course such a package depends on host glibc
and may have the risk of breakage but it is likely low risk if the
main problem is it needs specific version of gtk+.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: partial guix pack?
  2022-07-26 18:18 partial guix pack? Andy Tai
@ 2022-08-09 20:29 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-08-09 20:29 UTC (permalink / raw)
  To: Andy Tai; +Cc: help-guix

Hi,

Andy Tai <atai@atai.org> skribis:

> Can a guix pack be partial?  By that I meant one package that is not
> completely stand alone but only contains a subset of needed software,
> bundled libraries.  for example, one that bundles specific version of
> gtk+ but not glibc?  Of course such a package depends on host glibc
> and may have the risk of breakage but it is likely low risk if the
> main problem is it needs specific version of gtk+.

Currently there’s no way to do that.

We could implement a feature that removes certain store items from the
pack, say glibc.  But then, all the binaries in the pack have Guix’s
glibc in their RUNPATH and executables have its loader as an ELF
interpreter.  So that process would need to rewrite RUNPATHs and INTERPs
to those commonly found on FHS distros… not impossible, but a bit
tedious just to end up with binaries that may or may not work.

Ludo’.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-09 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-26 18:18 partial guix pack? Andy Tai
2022-08-09 20:29 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).