From: zimoun <zimon.toutoune@gmail.com>
To: Marius Bakke <mbakke@fastmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: whishlist: guix build -d /gnu/store/hash-pkg-version?
Date: Sun, 10 May 2020 15:59:40 +0200 [thread overview]
Message-ID: <CAJ3okZ0dijxSSwp92xxm=O3tC_-8_TcgngJe--V9-A7BoxvB5g@mail.gmail.com> (raw)
In-Reply-To: <87h7wq361u.fsf@devup.no>
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
Hi Marius,
On Fri, 8 May 2020 at 15:33, Marius Bakke <mbakke@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
[-- Attachment #2: 0001-doc-Add-cindex-entry-for-delivers-option.patch --]
[-- Type: text/x-patch, Size: 1282 bytes --]
From 828290446c4ebc3eee47f2cf99f747b2afc401b3 Mon Sep 17 00:00:00 2001
From: zimoun <zimon.toutoune@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
prev parent reply other threads:[~2020-05-10 13:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-06 23:45 whishlist: guix build -d /gnu/store/hash-pkg-version? zimoun
2020-05-08 13:33 ` Marius Bakke
2020-05-10 13:59 ` zimoun [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ3okZ0dijxSSwp92xxm=O3tC_-8_TcgngJe--V9-A7BoxvB5g@mail.gmail.com' \
--to=zimon.toutoune@gmail.com \
--cc=help-guix@gnu.org \
--cc=mbakke@fastmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).