all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kiasoc5 <kiasoc5@disroot.org>
To: Maxime Devos <maximedevos@telenet.be>
Cc: guix-devel@gnu.org
Subject: Re: Guix-devel Digest, Vol 109, Issue 56
Date: Sat, 23 Jul 2022 22:52:26 +0000	[thread overview]
Message-ID: <20220723225226.11f9a793@aria> (raw)
In-Reply-To: <7000e16f-54df-60a6-031f-699ecca64d0d@telenet.be>

On Fri, Jul 22 2022, 07:16:59 PM +0200
Maxime Devos <maximedevos@telenet.be> wrote:

> On 22-07-2022 19:12, kiasoc5 wrote:
> > We could have packages recommend other packages to make this
> > discovery easier for users, like Arch's opt-depends.  
> 
> This sounds like my previous proposal to me:
> 
> > Alternatively, packages could have an additional set of inputs 
> > (development-inputs?) for this use case, only added for "guix shell 
> > -D" and "guix environment", though then the build environment and 
> > "guix shell -D the-package" would diverge further.   
> except it has a more precise semantics than Arch's, or did you have 
> something different in mind?

To me as a user, "guix shell -D package" means "install everything to
/build/ the package" and "guix shell package" means "install everything
to /use/ the package". We could make it even more granular:

1. Minimal dependencies for build time (native-inputs)
2. Maximal dependencies for build time (development-inputs)
3. Minimal dependencies for runtime (inputs + propagated-inputs)
4. Maximal dependencies for runtime (optdepends)

Deciding what is minimal/maximal is the issue. For instance should we
build manpages, which might pull in more dependencies (Crux omits them)?
Should we compile with every optional flag enabled, which also
might pull in more dependencies (like Arch)? Perhaps a policy or
standard would be helpful to decide how much we need, if we need more
levels of distinction.


  reply	other threads:[~2022-07-23 22:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.5750.1658421830.1145.guix-devel@gnu.org>
2022-07-22 17:12 ` Guix-devel Digest, Vol 109, Issue 56 kiasoc5
2022-07-22 17:16   ` Maxime Devos
2022-07-23 22:52     ` kiasoc5 [this message]
2022-07-24  6:30       ` Liliana Marie Prikler
2022-09-03 10:58   ` zimoun

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=20220723225226.11f9a793@aria \
    --to=kiasoc5@disroot.org \
    --cc=guix-devel@gnu.org \
    --cc=maximedevos@telenet.be \
    /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.