unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Andy Tai <atai@atai.org>
Cc: help-guix@gnu.org
Subject: Re: partial guix pack?
Date: Tue, 09 Aug 2022 22:29:31 +0200	[thread overview]
Message-ID: <87edxp40us.fsf@gnu.org> (raw)
In-Reply-To: <CAJsg1E9SLv4whqXNw+0rT5mZkOMKnsxapgZ=YyY0WqC13_bpYQ@mail.gmail.com> (Andy Tai's message of "Tue, 26 Jul 2022 11:18:16 -0700")

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’.


      reply	other threads:[~2022-08-09 20:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-26 18:18 partial guix pack? Andy Tai
2022-08-09 20:29 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edxp40us.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=atai@atai.org \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).