From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#32245: Guix does not search sources locally by hash Date: Mon, 23 Jul 2018 10:41:14 +0200 Message-ID: <877elmuyxh.fsf@gnu.org> References: <20180722115607.1eea6917@alma-ubu> 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]:48039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhWPv-0000Fv-G9 for bug-guix@gnu.org; Mon, 23 Jul 2018 04:42:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhWPq-0000yS-Th for bug-guix@gnu.org; Mon, 23 Jul 2018 04:42:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48033) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhWPq-0000yD-QY for bug-guix@gnu.org; Mon, 23 Jul 2018 04:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fhWPq-0001H3-Jr for bug-guix@gnu.org; Mon, 23 Jul 2018 04:42:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180722115607.1eea6917@alma-ubu> ("=?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?="'s message of "Sun, 22 Jul 2018 11:56:07 +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: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Cc: 32245@debbugs.gnu.org Hi, Bj=C3=B6rn H=C3=B6fling skribis: > $> ./pre-inst-env guix build java-eclipse > [..] > @ build-started /gnu/store/lqfw971srfifgql68ibdgh58vi4d8fq3-java-eclipse-= oxygen-3a-linux-gtk-x86_64.tar.gz.drv - x86_64-linux /var/log/guix/drvs/lq/= /fw971srfifgql68ibdgh58vi4d8fq3-java-eclipse-oxygen-3a-linux-gtk-x86_64.tar= .gz.drv.bz2 [...] > But it does NOT search locally. Because I already have: > > guix hash /gnu/store/56h6snwcawpzk6rhcwgk442wsx6k86q2-eclipse-java-oxygen= -3a-linux-gtk-x86_64.tar.gz > 0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabhjf19fg2smxmwcim It does, but the file name matters. In this case what you have is =E2=80=9Ceclipse-java-=E2=80=A6=E2=80=9D but you=E2=80=99re trying to build= =E2=80=9Cjava-eclipse-=E2=80=A6=E2=80=9D. So you first need to add the file to the store under its expected name. You can do that for instance with: guix download file://=E2=80=A6/java-eclipse-=E2=80=A6 HTH! Ludo=E2=80=99.