diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2024-12-26 15:46:57 +0000 |
|---|---|---|
| committer | SomeoneSerge <else@someonex.net> | 2025-05-08 17:20:38 +0000 |
| commit | 9fd753ea84e5035b357a275324e7fd7ccfb1fc77 (patch) | |
| tree | e398dcb41892d86f6db3c4a0b70e20d04d2637ae /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 8fa343c6b4451df0ad9ecb976e76e793ccb8f90a (diff) | |
cuda-modules: 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 `isLess` and triggers assertion failures for
`std::stable_sort` that backs `builtins.sort`.
THe change restore `isLess` semantic for `preferable`.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
