[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding the channel in which a package is defined
From: |
Konrad Hinsen |
Subject: |
Re: Finding the channel in which a package is defined |
Date: |
Thu, 01 Apr 2021 12:25:26 +0200 |
Tobias,
Thanks for your reply!
> Does the ‘location’ field of ‘guix show PACKAGE’ do what you want?
Taking coreutils as a test case, it displays:
gnu/packages/base.scm:328:2
as a link pointing to:
/gnu/store/3qykwxq1mqlin3lrb93s3rzi1ah5xia8-guix-module-union/share/guile/site/3.0/gnu/packages/base.scm
and that is the same file that is opened with "guix edit". But it's a
copy of the input source file that is part of some channel, so the
provenance is lost.
Cheers,
Konrad