Re: List build dependencies of a store item

2019-10-23 Thread Arun Isaac

> The script is here:
> https://lists.gnu.org/archive/html/guix-devel/2018-07/msg00212.html

Yes, this is the one. Thank you!


signature.asc
Description: PGP signature


Re: List build dependencies of a store item

2019-10-23 Thread Arun Isaac

>> I am customizing the git-minimal package, and for some reason python is
>> getting rebuilt from source, and I'm not able to figure out why.

I figured this is due to git-minimal depending on curl which in turn
depends on python as a native-input.

> I assume git-minimal is used for the guile-git bindings, and I don't
> think that shows up in the graph.

guile-git only depends on libgit2.


signature.asc
Description: PGP signature


Re: List build dependencies of a store item

2019-10-23 Thread Gábor Boskovits
Hello,

Arun Isaac  ezt írta (időpont: 2019. okt. 23.,
Sze, 18:43):

>
> > I think a store item doesn't know where it comes from, so you can only
> > find its runtime references.
>
> That's a good point. I missed that.
>
> > If you have a package foo, you can find its build-time dependencies
> > with guix graph:
> >
> > guix graph foo
>
> Indeed, this is what I want but for a modified version of a package
> defined in a file. I realized I could do it with
>
> guix graph -e '(load "/path/to/file.scm")'
>
> However, it might be nicer to have something like
>
> guix graph -f /path/to/file.scm
>
> similar to
>
> guix build -f /path/to/file.scm
>
> > There's even a script that was shared here to show the path between
> > two nodes of a guix graph, but I can't find it anymore.
>
> Yes, I remember such a script too. It would be very useful to have. But,
> even I am unable to find it. If someone knows where to find that script,
> please share a link.
>

The script is here:
https://lists.gnu.org/archive/html/guix-devel/2018-07/msg00212.html


-- 
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21


Re: List build dependencies of a store item

2019-10-23 Thread Arun Isaac

> I think a store item doesn't know where it comes from, so you can only
> find its runtime references.

That's a good point. I missed that.

> If you have a package foo, you can find its build-time dependencies
> with guix graph:
>
> guix graph foo

Indeed, this is what I want but for a modified version of a package
defined in a file. I realized I could do it with

guix graph -e '(load "/path/to/file.scm")'

However, it might be nicer to have something like

guix graph -f /path/to/file.scm

similar to

guix build -f /path/to/file.scm

> There's even a script that was shared here to show the path between
> two nodes of a guix graph, but I can't find it anymore.

Yes, I remember such a script too. It would be very useful to have. But,
even I am unable to find it. If someone knows where to find that script,
please share a link.


signature.asc
Description: PGP signature


Re: List build dependencies of a store item

2019-10-23 Thread Efraim Flashner
On Wed, Oct 23, 2019 at 11:03:37AM +0530, Arun Isaac wrote:
> 
> I am customizing the git-minimal package, and for some reason python is
> getting rebuilt from source, and I'm not able to figure out why.
> 
> I can recursively list/graph runtime dependencies (references) of a
> store item using the following commands.
> 

I assume git-minimal is used for the guile-git bindings, and I don't
think that shows up in the graph.


-- 
Efraim Flashner  אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted


signature.asc
Description: PGP signature


Re: List build dependencies of a store item

2019-10-23 Thread Julien Lepiller
Le 23 octobre 2019 07:33:37 GMT+02:00, Arun Isaac  
a écrit :
>
>I am customizing the git-minimal package, and for some reason python is
>getting rebuilt from source, and I'm not able to figure out why.
>
>I can recursively list/graph runtime dependencies (references) of a
>store item using the following commands.
>
>guix size /gnu/store/...
>guix graph -t references /gnu/store/...
>
>How do I list the build dependencies (inputs of the build derivation)
>of
>a store item?
>
>Thanks,
>Arun.

I think a store item doesn't know where it comes from, so you can only find its 
runtime references. If you have a package foo, you can find its build-time 
dependencies with guix graph:

guix graph foo

There's even a script that was shared here to show the path between two nodes 
of a guix graph, but I can't find it anymore.



List build dependencies of a store item

2019-10-22 Thread Arun Isaac

I am customizing the git-minimal package, and for some reason python is
getting rebuilt from source, and I'm not able to figure out why.

I can recursively list/graph runtime dependencies (references) of a
store item using the following commands.

guix size /gnu/store/...
guix graph -t references /gnu/store/...

How do I list the build dependencies (inputs of the build derivation) of
a store item?

Thanks,
Arun.


signature.asc
Description: PGP signature