all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: raingloom@riseup.net, guix-devel@gnu.org
Subject: Splitting up packages, targeting smaller/older devices
Date: Mon, 19 Apr 2021 09:01:28 +0200	[thread overview]
Message-ID: <51d3bff3309859b9b8be469791267cc538d7e2b2.camel@student.tugraz.at> (raw)
In-Reply-To: 20210418232617.60b276f2@riseup.net

> One thing I'd like to try is to split up packages into more outputs,
> kinda like what Alpine does. This isn't really technically
> challenging,
> it's mostly just busywork and adding some default build phases and
> maybe some more default outputs. But it is a pretty big change, so,
> is
> this something that could eventually be upstreamed?
Not only is this very doable, it is in fact what Guix somewhat actively
do in order to reduce closure size.  I'm not sure if there's a "one
size fits all" phase, that could help you accomplish this, but a post-
install "move this part elsewhere" has worked for many things in the
past.

The only problem is that depending on the packages you want to make
smaller, you might end up
a) not making a difference, because the output is still needed
(unlikely, but possible)
b) targeting core-updates, which delays the time your patches can be
rolled out to everyone.

That being said, if you have concrete ideas about packages you wish to
reduce in size through more outputs, do bring them forth, either in a
discussion or with a patch.

Regards,
Leo



             reply	other threads:[~2021-04-19  7:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-19  7:01 Leo Prikler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-04-18 21:26 Splitting up packages, targeting smaller/older devices raingloom

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

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

  git send-email \
    --in-reply-to=51d3bff3309859b9b8be469791267cc538d7e2b2.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=guix-devel@gnu.org \
    --cc=raingloom@riseup.net \
    /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.
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.