diff --git a/pkgs/by-name/ha/harlequin/package.nix b/pkgs/by-name/ha/harlequin/package.nix index 21d8ab2bd7eb..a5ea97b1a59a 100644 --- a/pkgs/by-name/ha/harlequin/package.nix +++ b/pkgs/by-name/ha/harlequin/package.nix @@ -29,6 +29,7 @@ python3Packages.buildPythonApplication (finalAttrs: { "questionary" "rich-click" "textual" + "tomlkit" "tree-sitter" "tree-sitter-sql" ]; diff --git a/pkgs/development/python-modules/harlequin-postgres/default.nix b/pkgs/development/python-modules/harlequin-postgres/default.nix index bcc9f7c9a811..df86761b13a2 100644 --- a/pkgs/development/python-modules/harlequin-postgres/default.nix +++ b/pkgs/development/python-modules/harlequin-postgres/default.nix @@ -4,6 +4,8 @@ fetchPypi, hatchling, psycopg, + duckdb, + pythonAtLeast, }: buildPythonPackage rec { @@ -24,7 +26,8 @@ buildPythonPackage rec { dependencies = [ psycopg psycopg.pool - ]; + ] + ++ lib.optional (pythonAtLeast "3.14") duckdb; # To prevent circular dependency # as harlequin-postgres requires harlequin which requires harlequin-postgres