diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-07-23 08:02:40 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2021-07-23 08:02:42 +0200 |
commit | 13cef561850fc6ee01de09f945c0e6047c26ef3c (patch) | |
tree | 13dd3923e1d80d84f61c65bb8096b254dd35039e /pkgs/development/python-modules/gym | |
parent | 9a0f9214cf039f4ab39197d295715d0b1feaff61 (diff) |
python3Packages.gym: fix build
Tested by running one of their code examples
Diffstat (limited to 'pkgs/development/python-modules/gym')
-rw-r--r-- | pkgs/development/python-modules/gym/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/gym/default.nix b/pkgs/development/python-modules/gym/default.nix index 888dbf45342e5..1bda1d8ac2d20 100644 --- a/pkgs/development/python-modules/gym/default.nix +++ b/pkgs/development/python-modules/gym/default.nix @@ -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; |