Ludovic Courtès
36754eee28
packages: Remove duplicates from package cache.
...
Previously the same package could appear several times if several
variables were bound to it, as is notably the case for "python"
currently. This, in turn, would lead to obnoxious "ambiguous package
specification" messages.
* gnu/packages.scm (generate-package-cache)[expand-cache]: Change RESULT
to RESULT+SEEN and adjust accordingly.
Call 'first' on the result of 'fold-module-public-variables*'.
* tests/packages.scm ("fold-available-packages with/without cache"):
Check for lack of duplicates in FROM-CACHE.
2019-02-16 01:00:08 +01:00
..
2017-03-16 22:50:14 +01:00
2018-09-04 17:25:11 +02:00
2017-01-26 13:49:56 +01:00
2016-09-07 23:59:02 +02:00
2018-09-04 17:25:11 +02:00
2017-04-22 14:42:15 +02:00
2018-11-12 23:37:13 +01:00
2019-01-20 17:57:14 +01:00
2016-05-04 23:35:55 +02:00
2017-05-31 17:08:45 +02:00
2018-09-04 17:25:11 +02:00
2016-04-03 14:19:09 +02:00
2017-05-13 12:40:20 +02:00
2018-09-04 17:25:11 +02:00
2015-11-26 22:35:01 +01:00
2016-05-28 01:07:12 +02:00
2018-11-12 23:37:13 +01:00
2019-02-04 00:03:30 +01:00
2017-07-03 23:51:23 +02:00
2018-03-18 22:33:41 +01:00
2017-09-14 00:10:13 +02:00
2018-09-04 17:25:11 +02:00
2019-01-21 23:09:55 +01:00
2018-03-18 22:57:17 +01:00
2016-04-03 14:19:09 +02:00
2018-11-28 10:39:58 +01:00
2018-06-06 14:37:35 +02:00
2018-08-25 16:44:07 +02:00
2018-11-30 17:03:04 +01:00
2019-02-04 00:03:30 +01:00
2019-02-04 00:03:30 +01:00
2018-09-07 11:40:22 +02:00
2017-08-20 20:55:45 +08:00
2018-03-02 11:55:43 +01:00
2019-02-16 01:00:08 +01:00
2018-03-27 14:51:44 +02:00
2016-05-21 01:35:14 +02:00
2016-10-28 22:30:17 +02:00
2016-05-24 14:45:18 +02:00
2018-11-23 15:42:01 +01:00
2018-11-06 23:21:24 +01:00
2018-11-06 23:21:24 +01:00
2019-01-15 12:05:25 +01:00
2019-02-07 15:46:45 +01:00
2019-01-21 23:09:55 +01:00
2018-07-12 20:35:04 +02:00
2018-02-16 11:10:12 +01:00
2019-02-12 23:30:16 +01:00
2019-01-20 11:49:10 +02:00
2017-05-25 14:25:17 +02:00
2016-04-03 14:19:09 +02:00
2019-01-18 17:51:34 +01:00
2019-02-05 22:33:06 +01:00
2018-11-06 23:21:24 +01:00
2019-02-16 01:00:08 +01:00
2018-09-04 17:25:11 +02:00
2017-09-28 13:10:10 +02:00
2018-10-29 00:13:38 +01:00
2019-02-07 15:46:45 +01:00
2019-01-09 14:47:53 +01:00
2018-10-18 23:46:33 -04:00
2019-01-22 23:04:05 +01:00
2017-12-23 00:05:05 +01:00
2016-04-03 14:19:09 +02:00
2017-04-04 00:10:00 +02:00
2019-01-24 20:47:21 +01:00
2016-04-03 14:19:09 +02:00
2018-11-12 23:37:13 +01:00
2016-04-03 14:19:09 +02:00
2019-02-05 12:03:25 +01:00
2018-07-20 15:01:33 +02:00
2018-12-14 12:07:24 +01:00
2019-02-06 23:06:18 +01:00
2018-12-14 00:02:59 +01:00
2018-07-03 17:50:04 +02:00
2018-06-21 23:54:15 +02:00
2017-06-15 17:03:19 +02:00
2017-05-10 22:05:21 +02:00
2018-05-10 14:53:56 +02:00
2019-01-28 23:13:40 +01:00
2018-05-13 13:29:27 +02:00
2018-05-19 00:14:52 +02:00
2017-11-17 10:47:49 +01:00
2017-10-11 15:20:50 +02:00