From 0cdff58b3f6e4a8c4e967748253a8bb3bae3c291 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Wed, 25 May 2022 22:12:50 +0100 Subject: [PATCH] python3Packages.pot: fix build on darwin --- pkgs/development/python-modules/pot/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/pot/default.nix b/pkgs/development/python-modules/pot/default.nix index f017ff5fb54f..2cc9e3368c76 100644 --- a/pkgs/development/python-modules/pot/default.nix +++ b/pkgs/development/python-modules/pot/default.nix @@ -61,6 +61,9 @@ buildPythonPackage rec { --replace " --junit-xml=junit-results.xml" "" substituteInPlace setup.py \ --replace '"oldest-supported-numpy", ' "" + + # we don't need setup.py to find the macos sdk for us + sed -i '/sdk_path/d' setup.py ''; # To prevent importing of an incomplete package from the build directory