help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reverse dependencies


From: Vincent Legoll
Subject: Re: Reverse dependencies
Date: Sat, 13 Aug 2016 13:17:31 +0200

Hello,

> What do you define "dependencies" to be?  Using your situation as an
> example, inkscape is *not* a dependency of the built system, but it is
> a dependency of the *derivation* that builds the system.

I don't know which exact terms to use, I just wanted to avoid pulling in
a big GUI package when I chose a bare-bones system, since I had to
compile it a few times while hydra was recovering. I always have seen
the term "reverse dependencies" used to refer to that concept.

> I'd also like to point out that you can already use 'guix gc
> --referrers /gnu/store/....-foo-1.0' to find out which store items
> depend on the one passed in.

I expected gc to mean "garbage collect" and do just that. As a newcomer
I'd never have searched there, and even then, that would not have helped :

$ guix help gc
Usage: guix gc [OPTION]... PATHS...
Invoke the garbage collector.
[...]
      --references       list the references of PATHS
  -R, --requisites       list the requisites of PATHS
      --referrers        list the referrers of PATHS

The reference manual has more detailed explanations, maybe this
should be copied in "guix help gc".

WDYT ?

-- 
Vincent Legoll



reply via email to

[Prev in Thread] Current Thread [Next in Thread]