Ludovic Courtès 99e255d04b
guix graph: '--path' defaults to "out" in the case of multiple outputs.
Previously, "guix graph -t references --graph guix guile" would fail
with:

  no path from '/gnu/store/…-guix-1.4.0-1.9fe5b49' to '/gnu/store/…-guile-3.0.8-debug'

simply because the "debug" happened to be the first one, getting bound
to NODE2.  With this change it will instead pick the "out" output of
each.

* guix/scripts/graph.scm (guix-graph)[shorter?, length-sorted]: New
procedures.
In the 'path?' case, use the latter to store node lists.
2023-01-16 00:06:56 +01:00
..
2022-08-09 15:58:14 +02:00
2019-12-15 00:34:05 +01:00
2021-01-04 23:54:16 +01:00
2020-12-09 22:25:17 +01:00
2022-11-11 23:17:42 +01:00
2021-01-04 23:54:16 +01:00
2022-03-18 16:03:33 +01:00
2021-04-12 18:42:22 +02:00
2022-06-10 23:52:34 -04:00
2022-11-26 09:07:29 +01:00
2022-12-02 23:20:54 +01:00
2022-07-10 23:57:14 +02:00
2022-09-24 17:59:04 +02:00
2022-02-14 11:23:07 +01:00
2023-01-03 12:25:48 +01:00
2023-01-03 12:25:48 +01:00
2022-08-05 00:14:30 +02:00