python3Packages.langchain-ollama: fix updateScript eval

Without the change the update script fails as:

    error:

       error: function 'anonymous lambda' called with unexpected argument 'skipBulkUpdate'
       at pkgs/by-name/ni/nix-update/nix-update-script.nix:6:1:
            5|
            6| {
             | ^
            7|   attrPath ? null,
This commit is contained in:
Sergei Trofimovich 2025-01-29 06:18:49 +00:00
parent fab0e527b1
commit eabb90e632

View File

@ -56,9 +56,9 @@ buildPythonPackage rec {
"--version-regex"
"langchain-ollama==(.*)"
];
# updates the wrong fetcher rev attribute
skipBulkUpdate = true;
};
# updates the wrong fetcher rev attribute
passthru.skipBulkUpdate = true;
meta = {
changelog = "https://github.com/langchain-ai/langchain/releases/tag/langchain-ollama==${version}";