Thanks for all the responses on this.
In short - yes this does the job. I should really write it in Guile:
guix refresh –list-transitive my-pkg | cut -d':' -f2 | tr ' ' '\n' | grep
python | sort
I have a guix package that had originally been deployed with a python
requirements file to create a
zimoun 写道:
There would be the same philosophical discussion about what
constitutes a "refresh". ;-)
Joke aside, this "hello@2.10 depends on the following 20
packages:" is
annoying because you have to pipe " | cut -d':' -f2" to get what
you
are really interested in.
Oh, I agree with you on
Hi Tobias,
On Mon, 1 Feb 2021 at 02:33, Tobias Geerinckx-Rice wrote:
> Perhaps it's good enough to warrant ‘guix refresh
> --list-transitive-inputs’ (to avoid philosophical discussions
> about what constitutes a graph :-).
There would be the same philosophical discussion about what
constitutes
Phil,
Phil writes:
I'm looking for a command similar to 'guix show' which will give
a packages explicit
dependencies, recursively.
Best ditch the d-word; it's too ambiguous to be useful, as
illustrated by this thread.
If by ‘explicit dependencies’ you mean all explicitly listed
inputs
Hi Phil,
On Sun, 31 Jan 2021 at 12:59, Phil wrote:
> I'm looking for a recursive list of all bar@version given package
> foo?
>
> Something like:
> guix show --recursive-dependencies foo
>
> Giving:
> dependencies: bar@version, some-dependency-of-bar@version
I proposed something like that:
On Sun, Jan 31, 2021 at 12:59:40PM +, Phil wrote:
> Hi all,
>
> I'm looking for a command similar to 'guix show' which will give a packages
> explicit
> dependencies, recursively.
>
> Basically something like python's 'pip freeze' for a specific package.
>
> I know 'guix graph' can do this
Phil writes:
> Hi all,
>
> I'm looking for a command similar to 'guix show' which will give a packages
> explicit
> dependencies, recursively.
>
> Basically something like python's 'pip freeze' for a specific package.
>
Does guix-refresh --recursive do that?
#+BEGIN_SRC sh
$ guix refresh
Hi all,
I'm looking for a command similar to 'guix show' which will give a packages
explicit
dependencies, recursively.
Basically something like python's 'pip freeze' for a specific package.
I know 'guix graph' can do this but the output is much more elaborate
than I need, also 'guix export'