Unverified Commit 297bb7a0 authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

python3Packages.harlequin-postgres: fix build (#502418)

parents 78dd5aad b719ea15
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ python3Packages.buildPythonApplication (finalAttrs: {
    "questionary"
    "rich-click"
    "textual"
    "tomlkit"
    "tree-sitter"
    "tree-sitter-sql"
  ];
+4 −1
Original line number Diff line number Diff line
@@ -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