Unverified Commit dbf9f5c0 authored by Yureka's avatar Yureka Committed by GitHub
Browse files

python3.pkgs.django-cacheops: fix on darwin (#243941)

parent bfa726f7
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -55,12 +55,17 @@ buildPythonPackage rec {

  preCheck = ''
    redis-server &
    REDIS_PID=$!
    while ! redis-cli --scan ; do
      echo waiting for redis to be ready
      sleep 1
    done
  '';

  postCheck = ''
    kill $REDIS_PID
  '';

  DJANGO_SETTINGS_MODULE = "tests.settings";

  meta = with lib; {
@@ -69,7 +74,5 @@ buildPythonPackage rec {
    changelog = "https://github.com/Suor/django-cacheops/blob/${version}/CHANGELOG";
    license = licenses.bsd3;
    maintainers = with maintainers; [ onny ];
    # Times out for unknown reasons
    broken = stdenv.isDarwin;
  };
}