1
0
forked from tribes/guix
Files
guix-fork/guix
Ludovic Courtès a5ac56f883 packages: ‘package-field-location’ returns a <location> for atoms.
Fixes guix/guix#1975.

When using ‘read’, ‘package-field-location’ would not get source location for
atoms such as symbols, typically making it impossible to get the location of
the value of a field list (build-system gnu-build-system).  This fixes that.

* guix/packages.scm (field-value-location): New procedure.
(package-field-location): Use it instead of inline code.
* tests/packages.scm ("package-field-location"): Test the ‘build-system’
field.

Reported-by: Nicolas Graves <ngraves@ngraves.fr>
Change-Id: I98c694bb6f1999fa9ca80e145fa016640067af55
2025-09-11 22:27:47 +02:00
..
2025-01-25 01:05:22 +08:00
2025-09-04 12:19:53 +02:00
2025-04-14 17:31:49 +02:00
2025-08-31 12:39:24 +02:00
2025-02-22 23:55:24 +09:00
2024-04-15 22:36:42 +02:00
2025-09-08 10:03:38 +03:00
2024-04-15 22:36:42 +02:00
2025-07-01 17:46:01 +08:00
2024-04-15 22:36:42 +02:00
2025-06-19 10:51:10 +03:00