Unverified Commit 83e200ea authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

python3Packages.pytest-postgresql-darwin: disable checkPhase on darwin (#403422)

parents 02a72fa8 a1df13e2
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  pytestCheckHook,
@@ -62,7 +63,9 @@ buildPythonPackage rec {
    "pytest_postgresql.executor"
  ];

  __darwinAllowLocalNetworking = true;
  # Can't reliably run checkPhase on darwin because of nix bug, see:
  #  https://github.com/NixOS/nixpkgs/issues/371242
  doCheck = !stdenv.buildPlatform.isDarwin;

  meta = {
    homepage = "https://pypi.python.org/pypi/pytest-postgresql";