From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#39377: guix search reports bad location for bytestructures Date: Sun, 02 Feb 2020 23:52:41 +0100 Message-ID: <87r1zc38li.fsf@gnu.org> References: <52d09f27-9b5f-8f8d-1f11-04d1e05e2239@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:42634) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyO6x-0003Mw-3j for bug-guix@gnu.org; Sun, 02 Feb 2020 17:53:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyO6w-0007gW-6z for bug-guix@gnu.org; Sun, 02 Feb 2020 17:53:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34749) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyO6w-0007gA-3P for bug-guix@gnu.org; Sun, 02 Feb 2020 17:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iyO6w-0007Ho-2P for bug-guix@gnu.org; Sun, 02 Feb 2020 17:53:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <52d09f27-9b5f-8f8d-1f11-04d1e05e2239@gmail.com> (Matt Wette's message of "Fri, 31 Jan 2020 14:07:42 -0800") 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-mx.org@gnu.org Sender: "bug-Guix" To: Matt Wette Cc: 39377@debbugs.gnu.org Hi Matt, Matt Wette skribis: > I'm using guix-1.0.1 on Fedora 30, x86_64. > > I wanted to get module spec for bytestructures, but failed: > location points to (guix packages), but it's actually in (gnu packages > guile). > > $ guix search bytestructures > name: guile3.0-bytestructures > version: 1.0.7 > outputs: out > systems: x86_64-linux i686-linux > dependencies: autoconf@2.69 automake@1.16.1 guile-next@3.0.0 > pkg-config@0.29.2 > location: guix/packages.scm:880:11 The location here is that of the =E2=80=98package-input-rewriting=E2=80=99 = procedure, which is used to define this =E2=80=9Cguile3.0-=E2=80=9D variant. But note= that =E2=80=98guile-bytestructures=E2=80=99 has the right location info: --8<---------------cut here---------------start------------->8--- $ guix show guile-bytestructures name: guile-bytestructures version: 1.0.7 outputs: out systems: x86_64-linux i686-linux dependencies: autoconf@2.69 automake@1.16.1 guile@2.2.6 pkg-config@0.29.2 location: gnu/packages/guile.scm:594:2 --8<---------------cut here---------------end--------------->8--- We could arrange so that =E2=80=98package-input-rewriting=E2=80=99 preserve= s source location info (that would still be somewhat inaccurate, but hopefully less misleading.) Ludo=E2=80=99.