Subject: Re: [bug#65550] [PATCH] profiles: Don't propagate inputs for non-development packages.

From: Ludovic Courtès <[email-masked]>
Date: Sat, 09 Sep 2023 12:38:03 +0200

Hello!

[email-masked] skribis:

> From: 宋文武 <[email-masked]>
>
> * guix/profiles.scm (package->manifest-entry): Only include propagated inputs
> from a package for its "dev" output, or its "out" output if the package
> doesn't have a "dev" one.

What’s the rationale?

Right now, there’s only one package with an output called “dev”:

--8<---------------cut here---------------start------------->8---
$ guix package -A |cut -f3|grep dev|wc -l
1
--8<---------------cut here---------------end--------------->8---

So the focus on “dev” is debatable.

More importantly, this would break things like:

  guix shell python python-scipy -C -- python3 -c 'import numpy'

… where ‘python-numpy’ is propagated by ‘python-scipy’.

Definitely not something we want to change.

WDYT?

Ludo’.