* native-propagated-inputs
@ 2017-02-09 9:29 David Craven
2017-02-09 10:22 ` native-propagated-inputs David Craven
0 siblings, 1 reply; 3+ messages in thread
From: David Craven @ 2017-02-09 9:29 UTC (permalink / raw)
To: guix-devel
Hi guix,
Currently we use propagated inputs to specify propagated compile time
dependencies when they are needed by the header files or pkg-config
files or when they are needed at runtime. In addition we have the
mechanism of wrap-program to avoid having runtime dependencies being
propagated so that the dependency specification remains complete.
Wrap-program is also used for setting search paths for plugins.
The problem with wrap-program is that it makes debugging much harder
and doesn't work with the inbuilt gnu-build-system debugging support
that is enabled by adding "debug" to the list of outputs. It does not
find the debug symbols because the binary is called
binary.real-binary.
Instead of relying on wrap-program in these common cases, I think that
separating propagated-inputs in to native-propagated-inputs and
propagated-inputs may be a better way of solving this problem. We
already have native-inputs and inputs and native-search-path and
search-path so it seems to be like a natural extension.
Thoughts?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: native-propagated-inputs
2017-02-09 9:29 native-propagated-inputs David Craven
@ 2017-02-09 10:22 ` David Craven
2017-02-10 15:18 ` native-propagated-inputs Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: David Craven @ 2017-02-09 10:22 UTC (permalink / raw)
To: guix-devel
> Thoughts?
Actually it's a bad idea because it changes the semantics of native to
mean compile-time instead of the current semantics which means native
=P
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: native-propagated-inputs
2017-02-09 10:22 ` native-propagated-inputs David Craven
@ 2017-02-10 15:18 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-02-10 15:18 UTC (permalink / raw)
To: David Craven; +Cc: guix-devel
David Craven <david@craven.ch> skribis:
>> Thoughts?
>
> Actually it's a bad idea because it changes the semantics of native to
> mean compile-time instead of the current semantics which means native
> =P
Exactly. :-)
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-10 15:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-09 9:29 native-propagated-inputs David Craven
2017-02-09 10:22 ` native-propagated-inputs David Craven
2017-02-10 15:18 ` native-propagated-inputs Ludovic Courtès
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.