aboutsummaryrefslogtreecommitdiff
path: root/tests/base32.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-03-20 22:05:04 +0100
committerLudovic Courtès <ludo@gnu.org>2015-03-20 22:07:28 +0100
commit051edc95f12d3bb55fd67c6f2a3f4478df53a08f (patch)
tree690fcaf694d7694ba2200aa8b4b198d9371cc05d /tests/base32.scm
parent9eeb3d8c28589cb3398c20593c4ea41a7cfb7249 (diff)
downloadguix-051edc95f12d3bb55fd67c6f2a3f4478df53a08f.tar.gz
guix-051edc95f12d3bb55fd67c6f2a3f4478df53a08f.zip
guix package: '-s' sorts packages by name, then by version.
Before that it would sort them by name only, so the order in which two packages with the same name but a different version would appear was non-deterministic. Reported by Tomáš Čech <sleep_walker@gnu.org>. * guix/scripts/package.scm (find-packages-by-description)[version<?]: New variable. Change the 2nd argument to 'sort' to use 'string-compare' and resort to 'version<?' when P1 and P2 have the same name.
Diffstat (limited to 'tests/base32.scm')
0 files changed, 0 insertions, 0 deletions