Hello,

Marius Bakke <mba...@fastmail.com> skribis:

> I'm not sure, we would have to do this with every package that uses
> the pysam cython interface. This particular issue is described in the
> manual:
>
> https://www.gnu.org/software/guix/manual/html_node/package-Reference.html
>
> The propagated-inputs section says "For example this is necessary when a
> C/C++ library needs headers of another library to compile, or when a
> pkg-config file refers to another one via its Requires field.".
>
> So I think it's a pretty common propagation scenario. See e.g. 618089f9
> for a less convoluted case (C++ library that propagates zlib headers).
>
> Perhaps a "propagated-build-inputs" functionality would be useful, so
> that libraries are only propagated at build time and not to the profile.

FWIW, Nixpkgs makes (or made) this distinction, but I could not think of
a situation where it would make sense to propagate in one context and
not the other.

Ludo’.

Reply via email to