From eabb90e6325b803208fab190ee4039e6f2d91bee Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 29 Jan 2025 06:18:49 +0000 Subject: [PATCH] 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, --- pkgs/development/python-modules/langchain-ollama/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/langchain-ollama/default.nix b/pkgs/development/python-modules/langchain-ollama/default.nix index 22d33a192032..c12e871994b7 100644 --- a/pkgs/development/python-modules/langchain-ollama/default.nix +++ b/pkgs/development/python-modules/langchain-ollama/default.nix @@ -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}";