From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#31456: guix size tries to fetch substitute information for installed package. Date: Wed, 16 May 2018 15:29:04 +0200 Message-ID: <87efibhgpr.fsf@gnu.org> References: <93858c2d-4b9b-78e6-5fdd-aa32a921f6df@uni-bremen.de> <87tvr9joal.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIwVI-0002L4-1L for bug-guix@gnu.org; Wed, 16 May 2018 09:30:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIwVH-0007RA-8l for bug-guix@gnu.org; Wed, 16 May 2018 09:30:04 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:56880) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fIwVH-0007Qr-6D for bug-guix@gnu.org; Wed, 16 May 2018 09:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fIwVH-0005Fg-0G for bug-guix@gnu.org; Wed, 16 May 2018 09:30:03 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: (Martin Castillo's message of "Tue, 15 May 2018 12:19:12 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Martin Castillo Cc: 31456-done@debbugs.gnu.org Hello Martin, Martin Castillo skribis: >> Exactly. So I don=E2=80=99t think it=E2=80=99s 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. Right, it will work out-of-the-box if you have the ungrafted version in the store. > 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. =E2=80=98guix size=E2=80=99 resorts to substitutes if it can=E2=80=99t find= what it=E2=80=99s looking for locally. It explicitly search for the ungrafted version because substitute servers only have the ungrafted version, and because computing the derivation of the grafted version may require building the ungrafted on. > If that's the case, maybe say that in the documentation? Agreed, done in 2fd345cdfdd45dd48c9392a26793e442d680968b. Thank you! Ludo=E2=80=99.