Re: Specifying dependencies in manifest

2020-12-15 Thread Ludovic Courtès
zimoun  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’.



Re: Specifying dependencies in manifest

2020-12-14 Thread zimoun
Hi,

On Mon, 14 Dec 2020 at 11:41, Ludovic Courtès  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



Re: Specifying dependencies in manifest

2020-12-14 Thread Ludovic Courtès
Hi,

Hartmut Goebel  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’.



Specifying dependencies in manifest

2020-12-13 Thread Hartmut Goebel

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.goe...@crazy-compilers.com   |
| www.crazy-compilers.com | compilers which you thought are impossible |