unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Martin Castillo <castilma@uni-bremen.de>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 31456@debbugs.gnu.org
Subject: bug#31456: guix size tries to fetch substitute information for installed package.
Date: Tue, 15 May 2018 12:19:12 +0200	[thread overview]
Message-ID: <b31e505a-f754-aa73-e3b6-f2516b48a71e@uni-bremen.de> (raw)
In-Reply-To: <87tvr9joal.fsf@gnu.org>


[-- Attachment #1.1.1: Type: text/plain, Size: 635 bytes --]

> Exactly.  So I don’t think it’s a bug per se, just that no substitutes
> were unavailable when you checked.

The documentation gives me the impression that it should work without
substitutes, when I have the package installed.

> 
> I think we can close the bug, WDYT?

I think guix size should automatically search for the grafted version,
unless there is a technical reason/another use-case for guix size that
I'm not aware of, for which it makes more sense to use the ungrafted
version.

If that's the case, maybe say that in the documentation?


-- 
GPG: 7FDE 7190 2F73 2C50 236E  403D CC13 48F1 E644 08EC

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1.2: 0001-doc-Add-note-to-guix-size.patch --]
[-- Type: text/x-patch; name="0001-doc-Add-note-to-guix-size.patch", Size: 1050 bytes --]

From 337bf474edc91c09bf172091ed2c6ec4cb6e5f94 Mon Sep 17 00:00:00 2001
From: Martin Castillo <castilma@uni-bremen.de>
Date: Tue, 15 May 2018 12:14:18 +0200
Subject: [PATCH] doc: Add note to guix size

* doc/guix.texi (Invoking guix size): Note that guix size ignores
  grafted packages in the store.
---
 doc/guix.texi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/guix.texi b/doc/guix.texi
index a771ab7ae..72768b8cc 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -6945,7 +6945,8 @@ When the package passed to @command{guix size} is available in the
 store, @command{guix size} queries the daemon to determine its
 dependencies, and measures its size in the store, similar to @command{du
 -ms --apparent-size} (@pxref{du invocation,,, coreutils, GNU
-Coreutils}).
+Coreutils}).  Note that @command{guix size} only looks for the
+ungrafted package.
 
 When the given package is @emph{not} in the store, @command{guix size}
 reports information based on the available substitutes
-- 
2.17.0


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2018-05-15 10:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-14 20:10 bug#31456: guix size tries to fetch substitute information for installed package Martin Castillo
2018-05-14 22:22 ` Martin Castillo
2018-05-15  8:50   ` Ludovic Courtès
2018-05-15 10:19     ` Martin Castillo [this message]
2018-05-16 13:29       ` Ludovic Courtès

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=b31e505a-f754-aa73-e3b6-f2516b48a71e@uni-bremen.de \
    --to=castilma@uni-bremen.de \
    --cc=31456@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).