Hi Matt,

Matt Wette <[email protected]> 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: [email protected] [email protected] [email protected]
> [email protected]
> 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: [email protected] [email protected] [email protected] [email protected]
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