bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39377: guix search reports bad location for bytestructures


From: Ludovic Courtès
Subject: bug#39377: guix search reports bad location for bytestructures
Date: Sun, 02 Feb 2020 23:52:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

Hi Matt,

Matt Wette <address@hidden> 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 ‘package-input-rewriting’ procedure,
which is used to define this “guile3.0-” variant.  But note that
‘guile-bytestructures’ 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 ‘package-input-rewriting’ preserves source
location info (that would still be somewhat inaccurate, but hopefully
less misleading.)

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]