diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-03-05 22:01:33 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-03-05 22:53:40 +0100 |
commit | dd78e90a4dcd1e637b56ae278c4e631ccb384ee0 (patch) | |
tree | 429bfbce8f614fef27d9a57ed814375c25737b22 /emacs/guix-history.el | |
parent | 451b5c5dc67193724bc0997b4e7e47f7019677d1 (diff) | |
download | guix-dd78e90a4dcd1e637b56ae278c4e631ccb384ee0.tar.gz guix-dd78e90a4dcd1e637b56ae278c4e631ccb384ee0.zip |
store: 'references/substitutes' correctly handles the order of substitutes.
Before that, 'references/substitutes' would assume that
'substitutable-path-info' would return things in the same order as its
arguments, which is not the case. Thus, it would sometimes provide
incorrect reference information, occasionally leading to infinite
loop (because dependency information would denote cycles.)
Fixes <http://bugs.gnu.org/22914>.
Reported by Eric Bavier <ericbavier@openmailbox.org>.
* guix/store.scm (references/substitutes): Make ITEMS the first argument
of the loop; match on it. Use 'any' to find a matching substitute.
(substitutable-path-info): Clarify docstring about ordering.
Diffstat (limited to 'emacs/guix-history.el')
0 files changed, 0 insertions, 0 deletions