From 5c71ccf21f9cddaf2e8aeb135f4313e4a3d7c875 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 23 Mar 2026 07:33:32 +0100 Subject: [PATCH] python3Packages.niaaml: fix build --- pkgs/development/python-modules/niaaml/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/niaaml/default.nix b/pkgs/development/python-modules/niaaml/default.nix index edb64800c378..25370ff81e3f 100644 --- a/pkgs/development/python-modules/niaaml/default.nix +++ b/pkgs/development/python-modules/niaaml/default.nix @@ -11,6 +11,8 @@ scikit-learn, toml-adapt, typer, + typing-extensions, + writableTmpDirAsHomeHook, }: buildPythonPackage rec { @@ -43,6 +45,7 @@ buildPythonPackage rec { pandas scikit-learn typer + typing-extensions ]; # create scikit-learn and niapy deps version consistent @@ -51,7 +54,10 @@ buildPythonPackage rec { toml-adapt -path pyproject.toml -a change -dep niapy -ver X ''; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pytestCheckHook + writableTmpDirAsHomeHook + ]; pythonImportsCheck = [ "niaaml" ];