diff --git a/pkgs/by-name/ha/harlequin/package.nix b/pkgs/by-name/ha/harlequin/package.nix index 553a70fcbf36..8ac65c4b9b5c 100644 --- a/pkgs/by-name/ha/harlequin/package.nix +++ b/pkgs/by-name/ha/harlequin/package.nix @@ -6,6 +6,7 @@ nix-update-script, glibcLocales, versionCheckHook, + writableTmpDirAsHomeHook, withPostgresAdapter ? true, withBigQueryAdapter ? true, }: @@ -25,6 +26,7 @@ python3Packages.buildPythonApplication rec { "numpy" "pyarrow" "textual" + "tree-sitter" "tree-sitter-sql" ]; @@ -65,14 +67,11 @@ python3Packages.buildPythonApplication rec { updateScript = nix-update-script { }; }; - preCheck = '' - export HOME=$(mktemp -d) - ''; - nativeCheckInputs = with python3Packages; [ pytest-asyncio pytestCheckHook versionCheckHook + writableTmpDirAsHomeHook ]; disabledTests = [