summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2025-09-04 14:28:42 +0200
committerLudovic Courtès <ludo@gnu.org>2025-09-11 22:27:47 +0200
commita5ac56f8830928205ce5424082486d509f898dc7 (patch)
treeaf3a8abf4396027b275f1bc9cb40a3a6ca68a6d7 /gnu/packages/python-web.scm
parentfd4402f09a766a10e796c03eae9c8342a4746b39 (diff)
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
Diffstat (limited to 'gnu/packages/python-web.scm')
0 files changed, 0 insertions, 0 deletions