Re: Output all dependencies recursively for package

2021-02-01 Thread Phil
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

Re: Output all dependencies recursively for package

2021-02-01 Thread me--- via
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

Re: Output all dependencies recursively for package

2021-01-31 Thread zimoun
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

Re: Output all dependencies recursively for package

2021-01-31 Thread Tobias Geerinckx-Rice
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

Re: Output all dependencies recursively for package

2021-01-31 Thread zimoun
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:

Re: Output all dependencies recursively for package

2021-01-31 Thread Efraim Flashner
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

Re: Output all dependencies recursively for package

2021-01-31 Thread Joshua Branson
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

Output all dependencies recursively for package

2021-01-31 Thread Phil
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'