diff --git a/pkgs/development/python-modules/pgspecial/default.nix b/pkgs/development/python-modules/pgspecial/default.nix index 10fe8a87c17c..7def8a06f95d 100644 --- a/pkgs/development/python-modules/pgspecial/default.nix +++ b/pkgs/development/python-modules/pgspecial/default.nix @@ -11,6 +11,7 @@ setuptools, setuptools-scm, sqlparse, + stdenv, }: buildPythonPackage rec { @@ -34,6 +35,9 @@ buildPythonPackage rec { psycopg ]; + # postgresqlTestHook is not available on Darwin + doCheck = stdenv.hostPlatform.isLinux; + nativeCheckInputs = [ configobj pytestCheckHook