diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-06-15 10:34:31 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-06-16 00:14:52 +0200 |
commit | a3beb8d741e88f30765f4e3bc525c3433bf49498 (patch) | |
tree | c8c13a910ab4046c82cae5a671bb0e42ca272b6a /tests | |
parent | 6e1215fb9c03ccb4a2d4440990aee5a66a935268 (diff) | |
download | guix-a3beb8d741e88f30765f4e3bc525c3433bf49498.tar.gz |
pull: Preserve channel ordering when using '--commit', '--url', etc.
Previously using '--url', '--commit', or '--branch' would move the 'guix' channel to the front. This is okay in itself but it gratuitously leads to a different cache key in 'cached-channel-instance'--IOW, 'guix time-machine --commit=X' where X is already in cache would gratuitously recompute the channel derivations. * guix/scripts/pull.scm (channel-list): Use 'map' instead of 'find' + 'remove' + 'cons'.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions