diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2026-01-13 21:41:02 +0000 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2026-01-13 21:46:43 +0000 |
| commit | c1d7da1451a17cf45c31cf94c0c25d4d5ec38539 (patch) | |
| tree | b5d3bc3697567ad6123a9c6816cb5c832e0b2fd1 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 7680ec7c8ad9710fed1fb68cbe88de2a759964e8 (diff) | |
llm.tests: fix the eval
Without the change `llm.tests` fails the eval on `master` as:
$ nix build --no-link -f. llm.tests
error:
… in the right operand of the update (//) operator
at lib/attrsets.nix:1619:60:
1618| # The invariant is satisfied because each half will have at least 1 element
1619| binaryMerge start (start + (end - start) / 2) // binaryMerge (start + (end - start) / 2) end
| ^
1620| else
… in the left operand of the update (//) operator
at lib/attrsets.nix:1619:11:
1618| # The invariant is satisfied because each half will have at least 1 element
1619| binaryMerge start (start + (end - start) / 2) // binaryMerge (start + (end - start) / 2) end
| ^
1620| else
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: attribute 'tests' missing
at pkgs/development/python-modules/llm/default.nix:262:46:
261| # include tests for all the plugins
262| tests = lib.mergeAttrsList (map (name: python.pkgs.${name}.tests) withPluginsArgNames);
| ^
263| };
It happens because `python.pkgs.llm-lmstudio.tests` attribute does not
exist. THe change adds a fallback for packages without tests attributes.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
