Unverified Commit a1df13e2 authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

python3Packages.pytest-postgresql-darwin: disable checkPhase on darwin

This is because the checkPhase can't be run consistently on darwin due
to a nix bug described in #371242.
parent 2003fca1
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";