Unverified Commit 94f5552f authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

Merge pull request #174617 from risicle/ris-python-pot-darwin-fix

python3Packages.pot: fix build on darwin
parents 6d40b806 0cdff58b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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