From 5c042401b47fc25f6d52d0525ac69b55a9c9ea87 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Fri, 26 May 2023 21:05:49 +0200 Subject: [PATCH] flatcam: fix build --- pkgs/applications/science/electronics/flatcam/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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