diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-06-21 12:21:19 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-07-11 00:49:15 +0200 |
commit | ef1432f064abeb9f902c6917c540e143492a5de4 (patch) | |
tree | 913591a3994d936e79997716d4f0d0af562619ca /guix/scripts/environment.scm | |
parent | 4dcc6067661c261cd9c5663e20b291a7eccaab75 (diff) | |
download | guix-patches-ef1432f064abeb9f902c6917c540e143492a5de4.tar guix-patches-ef1432f064abeb9f902c6917c540e143492a5de4.tar.gz |
utils: Add 'go-to-location' with source location caching.
* guix/utils.scm (%source-location-map): New variable.
(go-to-location): New procedure.
(edit-expression): Use it instead of custom loop.
* guix/packages.scm (package-field-location)[goto]: Remove.
Use 'go-to-location' instead of 'goto'.
Diffstat (limited to 'guix/scripts/environment.scm')
0 files changed, 0 insertions, 0 deletions