summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2023-05-26 21:05:49 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-05-26 21:01:01 +0000
commita422cd1f5bd00c39a5716a65033cfb7088d4f5a4 (patch)
tree1d4d1a610f9ab53c355851db66aa254166567718
parentMerge pull request #234275 from NixOS/backport-234174-to-release-23.05 (diff)
downloadnixpkgs-a422cd1f5bd00c39a5716a65033cfb7088d4f5a4.tar.gz
flatcam: fix build
(cherry picked from commit 5c042401b47fc25f6d52d0525ac69b55a9c9ea87)
-rw-r--r--pkgs/applications/science/electronics/flatcam/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/science/electronics/flatcam/default.nix b/pkgs/applications/science/electronics/flatcam/default.nix
index 02b2d2d61ac0..62f8189443aa 100644
--- a/pkgs/applications/science/electronics/flatcam/default.nix
+++ b/pkgs/applications/science/electronics/flatcam/default.nix
@@ -66,6 +66,10 @@ in 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