python3Packages.gym: fix build

Tested by running one of their code examples
This commit is contained in:
Jörg Thalheim 2021-07-23 08:02:40 +02:00
parent 9a0f9214cf
commit 13cef56185

View file

@ -29,6 +29,11 @@ buildPythonPackage rec {
scipy
];
postPatch = ''
substituteInPlace setup.py \
--replace "Pillow<=8.2.0" "Pillow"
'';
# The test needs MuJoCo that is not free library.
doCheck = false;