python3Packages.gym: fix build

Tested by running one of their code examples

(cherry picked from commit 13cef561850fc6ee01de09f945c0e6047c26ef3c)
This commit is contained in:
Jörg Thalheim 2021-07-23 08:02:40 +02:00 committed by Jonathan Ringer
parent 0d70ff95e1
commit 43cea7b6e4
1 changed files with 5 additions and 0 deletions

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;