python3.pkgs.openllm-core.optional-dependencies.full: fix eval

Without the change eval of optional dependencies fails as:

    $ nix build --no-link -f. python3.pkgs.openllm-core.optional-dependencies.full
    error: undefined variable 'passthru'
           at /home/slyfox/dev/git/nixpkgs-master/pkgs/development/python-modules/openllm-core/default.nix:92:10:
               91|       # use absolute path to disambiguate with derivbation argument
               92|       ++ passthru.optional-dependencies.bentoml
                 |          ^
               93|       ++ fine-tune );
This commit is contained in:
Sergei Trofimovich 2024-03-15 21:43:32 +00:00
parent 24025052f8
commit 1d763bd596

View file

@ -89,7 +89,7 @@ buildPythonPackage rec {
full = with optional-dependencies; (
vllm
# use absolute path to disambiguate with derivbation argument
++ passthru.optional-dependencies.bentoml
++ optional-dependencies.bentoml
++ fine-tune );
};