From 9d497d7c855d2e2253dfb3a19746d4671695003e Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 23 Mar 2026 06:53:31 +0100 Subject: [PATCH] python3Packages.harlequin-postgres: fix build --- .../python-modules/harlequin-postgres/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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