diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2024-12-26 23:00:05 +0000 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2024-12-26 23:02:04 +0000 |
| commit | ef6ac2dd6e6fe0f800d008fd9e314226617fb96a (patch) | |
| tree | 1e2f6b072256d9076898c195a713fd3e2d8d5dde /pkgs/development/python-modules/python-openstackclient | |
| parent | 9ceb1173fb712c1ae3dd484887a6aa60c3323774 (diff) | |
coqPackages.metaFetch: fix `sort` predicate stability
Incorrect sorting predicate was found as part of
https://github.com/NixOS/nix/issues/12106 where `nix` was crashing on
the code like:
$ nix eval --expr 'builtins.sort (a: b: true) [ 1 2 3 ]'
...
Aborted (core dumped)
Note: the crash happens here because sorting predicate does not
implement `lessThan` and triggers assertion failures for
`std::stable_sort` that backs `builtins.sort`.
The change restores `lessThan` semantic for `version sorting`.
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient')
0 files changed, 0 insertions, 0 deletions
