diff options
| author | Sergei Trofimovich <slyich@gmail.com> | 2024-07-23 22:10:35 +0100 |
|---|---|---|
| committer | Sergei Trofimovich <slyich@gmail.com> | 2024-07-23 22:10:35 +0100 |
| commit | f84f1c2744a004fa1c3c7f6ea98327495cd52a18 (patch) | |
| tree | dca6c11faf777230f2db14f1dbcb684667ec1b58 /pkgs/development/python-modules/rangehttpserver | |
| parent | 65f98a6801b89162cd0cf3b0f4be53c62b6811f2 (diff) | |
python3Packages.pytorch-bin.tests: fix the eval
Without the change the eval fails as:
$ nix-instantiate -A python3Packages.pytorch-bin.tests
error:
… while calling a functor (an attribute set with a '__functor' attribute)
at lib/customisation.nix:264:13:
263| in if missingArgs == {}
264| then makeOverridable f allArgs
| ^
265| # This needs to be an abort so it can't be caught with `builtins.tryEval`,
… while evaluating a branch condition
at lib/customisation.nix:148:7:
147| in
148| if isAttrs result then
| ^
149| result // {
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: function 'anonymous lambda' called with unexpected argument 'torchWithCuda'
at pkgs/development/python-modules/torch/tests.nix:1:1:
1| { callPackage }:
| ^
2|
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
