From 6f4512249801e2dcd5ae4e3e15348d53c557d28a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 3 Sep 2025 14:01:11 +0200 Subject: [PATCH] python313Packages.pgspecial: skip tests on darwin as postgresqlTestHook is not available there --- pkgs/development/python-modules/pgspecial/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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