diff --git a/pkgs/applications/science/electronics/flatcam/default.nix b/pkgs/applications/science/electronics/flatcam/default.nix index adbcb9597430..338823bbf386 100644 --- a/pkgs/applications/science/electronics/flatcam/default.nix +++ b/pkgs/applications/science/electronics/flatcam/default.nix @@ -68,6 +68,10 @@ python.pkgs.buildPythonApplication rec { ./release.patch ]; + postPatch = '' + substituteInPlace setup.py --replace "'shapely>=1.3'" "'shapely>=1.3'," + ''; + # Only non-GUI tests can be run deterministically in the Nix build environment. checkPhase = '' python -m unittest tests.test_excellon