python3.pkgs.django-cacheops: fix on darwin (#243941)
This commit is contained in:
parent
bfa726f7dc
commit
dbf9f5c0db
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue