summary refs log tree commit diff
path: root/gnu/packages/node.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 /gnu/packages/node.scm
parent9eeb3d8c28589cb3398c20593c4ea41a7cfb7249 (diff)
downloadguix-051edc95f12d3bb55fd67c6f2a3f4478df53a08f.tar.gz
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 'gnu/packages/node.scm')
0 files changed, 0 insertions, 0 deletions