all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#55186: package-definition-location is wrong for inherited packages
@ 2022-04-29 15:56 Maxim Cournoyer
  2022-05-02 21:04 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2022-04-29 15:56 UTC (permalink / raw)
  To: 55186

Hi Guix,

Here's another problem with source location I've discovered when
attempting to locate the source of `python2-pytest-warnings', which
reads like:

--8<---------------cut here---------------start------------->8---
(define-public python2-pytest-warnings
  (package (inherit (package-with-python2
                     (strip-python2-variant python-pytest-warnings)))
           (properties `((superseded . ,python2-pytest)))))
--8<---------------cut here---------------end--------------->8---

The define-public line is at line 2569, but:

--8<---------------cut here---------------start------------->8---
(define package (car (find-packages-by-name "python2-pytest-warnings")))
(package-definition-location package) location->source-properties)
--8<---------------cut here---------------end--------------->8---

returns 2570, the line below.

Thanks,

Maxim




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-16  4:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29 15:56 bug#55186: package-definition-location is wrong for inherited packages Maxim Cournoyer
2022-05-02 21:04 ` Ludovic Courtès
2022-05-16  4:56   ` Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.