* Specifying dependencies in manifest
@ 2020-12-13 12:50 Hartmut Goebel
2020-12-14 10:41 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Hartmut Goebel @ 2020-12-13 12:50 UTC (permalink / raw)
To: guix-devel
Hi,
how to specify "dependencies of package" in a manifest?
Background: I'm using a manifest file for defining my development
environment and keeping up with the dependencies of some of the packages
is cumbersome.
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Specifying dependencies in manifest
2020-12-13 12:50 Specifying dependencies in manifest Hartmut Goebel
@ 2020-12-14 10:41 ` Ludovic Courtès
2020-12-14 12:52 ` zimoun
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2020-12-14 10:41 UTC (permalink / raw)
To: Hartmut Goebel; +Cc: guix-devel
Hi,
Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:
> how to specify "dependencies of package" in a manifest?
There’s no standard procedure that does that currently (it’s buried in
(guix scripts environment)) but it’d be nice to have.
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Specifying dependencies in manifest
2020-12-14 10:41 ` Ludovic Courtès
@ 2020-12-14 12:52 ` zimoun
2020-12-15 11:19 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: zimoun @ 2020-12-14 12:52 UTC (permalink / raw)
To: Ludovic Courtès, Hartmut Goebel; +Cc: guix-devel
Hi,
On Mon, 14 Dec 2020 at 11:41, Ludovic Courtès <ludo@gnu.org> wrote:
>> how to specify "dependencies of package" in a manifest?
>
> There’s no standard procedure that does that currently (it’s buried in
> (guix scripts environment)) but it’d be nice to have.
I had a tiny patch that export ’package-environment-inputs’ as
’inputs-of’ and used it to create profiles. But my motivation had been
killed by bug#38529. And now, it is rare that I need it and I use:
guix time-machine -C channels -- environment foo --ad-hoc bar
because it is really rare that I need the dependencies of more that one
package. Anyway! It could be nice to have.
Maybe this function could go to the module imported by manifest. WDYT?
All the best,
simon
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Specifying dependencies in manifest
2020-12-14 12:52 ` zimoun
@ 2020-12-15 11:19 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2020-12-15 11:19 UTC (permalink / raw)
To: zimoun; +Cc: guix-devel
zimoun <zimon.toutoune@gmail.com> skribis:
> Maybe this function could go to the module imported by manifest. WDYT?
Yes, that could be a utility procedure in (guix packages).
(bag-direct-inputs (package->bag p)) may not be far from it…
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-12-15 11:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-13 12:50 Specifying dependencies in manifest Hartmut Goebel
2020-12-14 10:41 ` Ludovic Courtès
2020-12-14 12:52 ` zimoun
2020-12-15 11:19 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).