summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
diff options
context:
space:
mode:
authorSergei Trofimovich <slyich@gmail.com>2024-12-26 23:09:02 +0000
committerSergei Trofimovich <slyich@gmail.com>2024-12-26 23:09:36 +0000
commitbf740322a7699bf579af3527e748edf2d49190ed (patch)
treebc438418ade92a01888c44de9710363a3512c756 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch
parent9ceb1173fb712c1ae3dd484887a6aa60c3323774 (diff)
mathematica: 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/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions