Ludovic Courtès ee8099f5b6
edit: Use 'specification->location' to read information from the cache.
That way 'guix edit' doesn't need to load any package module.

* gnu/packages.scm (find-package-locations, specification->location):
New procedures.
* guix/scripts/edit.scm (package->location-specification): Rename to...
(location->location-specification): ... this.  Expect a location object
instead of a package.
(guix-edit): Use 'specification->location' instead of
'specification->package'.
* tests/packages.scm ("find-package-locations")
("find-package-locations with cache")
("specification->location"): New tests.
2019-01-15 20:24:09 +01:00
..
2017-07-21 17:03:24 +02:00
2017-01-28 18:55:20 +01:00
2018-08-26 01:47:40 +02:00
2019-01-10 14:59:22 +01:00
2018-11-28 10:39:58 +01:00
2018-09-07 11:40:22 +02:00
2018-09-25 18:45:50 +02:00
2018-12-04 10:57:56 +01:00
2017-11-08 22:31:58 +01:00
2018-03-20 17:17:58 +01:00
2018-06-01 15:21:28 +02:00
2018-09-04 17:25:11 +02:00
2015-01-11 23:50:01 +01:00
2018-12-19 23:52:25 +01:00