diff options
author | Samuel Ainsworth <skainsworth@gmail.com> | 2022-01-27 07:44:35 +0000 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-01-28 10:47:24 -0800 |
commit | 5b958f0c226edd2a90d1f776cd7db0fdf47276e3 (patch) | |
tree | 31142fa1c5ca3300b4fc2b1655e021b758c9c211 /pkgs/development/python-modules/apache-beam | |
parent | da815397a7e60c89bff5a80b24a7ca713599078e (diff) |
python3Packages.apache-beam: fix build
Diffstat (limited to 'pkgs/development/python-modules/apache-beam')
-rw-r--r-- | pkgs/development/python-modules/apache-beam/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/apache-beam/default.nix b/pkgs/development/python-modules/apache-beam/default.nix index 44748f2fdb05f..f3e47bfc90107 100644 --- a/pkgs/development/python-modules/apache-beam/default.nix +++ b/pkgs/development/python-modules/apache-beam/default.nix @@ -57,6 +57,12 @@ buildPythonPackage rec { ./fix-cython.patch ]; + # See https://github.com/NixOS/nixpkgs/issues/156957. + postPatch = '' + substituteInPlace setup.py \ + --replace "typing-extensions>=3.7.0,<4" "typing-extensions" + ''; + sourceRoot = "source/sdks/python"; nativeBuildInputs = [ |