From 2875ed1290a24a25273b70ff2649117b594a49a8 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 1 Sep 2025 13:11:26 +0200 Subject: [PATCH] harlequin: fix by relaxing tree-sitter dependency --- pkgs/by-name/ha/harlequin/package.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 = [