Hi Marius,

On Fri, 8 May 2020 at 15:33, Marius Bakke <mba...@fastmail.com> wrote:

> That does make sense and is already supported with 'guix gc --derivers':

Thank you!  Exactly that.

Well,  'derivers' is not common -- from my poor English knowledge and
in the Guix vocabulary -- so please fin attached  a tiny patch that
mentions .drv in "guix gc --help" and 'delivers, derivation' to the
index.  I do not know if it makes sense but if I was too lazy to find
it, I bet that I am not the only one. ;-)


All the bets,
simon
From 828290446c4ebc3eee47f2cf99f747b2afc401b3 Mon Sep 17 00:00:00 2001
From: zimoun <zimon.touto...@gmail.com>
Date: Sun, 10 May 2020 15:48:48 +0200
Subject: [PATCH] doc: Add @cindex entry for delivers option.

* doc/guix.texi: (Invoking guix gc): Add @cindex `delivers'.
* guix/scripts/gc.scm: Mention derivation for 'delivers'.
---
 doc/guix.texi       | 1 +
 guix/scripts/gc.scm | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index 2505ecdb86..755938cd4b 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -3643,6 +3643,7 @@ the graph of references.
 
 @item --derivers
 @cindex derivation
+@cindex derivers, derivation
 Return the derivation(s) leading to the given store items
 (@pxref{Derivations}).
 
diff --git a/guix/scripts/gc.scm b/guix/scripts/gc.scm
index ab7c13315f..ed9ea4d2c9 100644
--- a/guix/scripts/gc.scm
+++ b/guix/scripts/gc.scm
@@ -74,7 +74,7 @@ Invoke the garbage collector.\n"))
   (display (G_ "
       --referrers        list the referrers of PATHS"))
   (display (G_ "
-      --derivers         list the derivers of PATHS"))
+      --derivers         list the derivers (.drv) of PATHS"))
   (newline)
   (display (G_ "
       --verify[=OPTS]    verify the integrity of the store; OPTS is a
-- 
2.26.1

Reply via email to