diff --git a/pkgs/development/python-modules/pyopencl/default.nix b/pkgs/development/python-modules/pyopencl/default.nix index e15dde02e599..741ba71c3037 100644 --- a/pkgs/development/python-modules/pyopencl/default.nix +++ b/pkgs/development/python-modules/pyopencl/default.nix @@ -23,6 +23,9 @@ # tests pytestCheckHook, + writableTmpDirAsHomeHook, + mako, + pocl, }: let @@ -63,19 +66,17 @@ buildPythonPackage rec { pytools ]; - nativeCheckInputs = [ pytestCheckHook ]; + nativeCheckInputs = [ + pocl + mako + pytestCheckHook + writableTmpDirAsHomeHook + ] ++ pytools.optional-dependencies.siphash; preCheck = '' - export HOME=$(mktemp -d) - - # https://github.com/NixOS/nixpkgs/issues/255262 - cd $out + rm -rf pyopencl ''; - # https://github.com/inducer/pyopencl/issues/784 Note that these failing - # tests are all the tests that are available. - doCheck = false; - pythonImportsCheck = [ "pyopencl" "pyopencl.array"