Unverified Commit 042bbfd3 authored by Sandro Jäckel's avatar Sandro Jäckel
Browse files

pypy3Packages.matplotlib: fix shebang to fix build

parent ca7340e2
Loading
Loading
Loading
Loading
+17 −12
Original line number Diff line number Diff line
@@ -93,7 +93,12 @@ buildPythonPackage rec {
  # installed under the same path which is not true in Nix.
  # With the following patch we just hard-code these paths into the install
  # script.
  postPatch = ''
  postPatch =
    lib.optionalString isPyPy ''
      substituteInPlace tools/generate_matplotlibrc.py \
        --replace-fail "/usr/bin/env python3" "/usr/bin/env pypy3"
    ''
    + ''
      substituteInPlace pyproject.toml \
        --replace-fail "meson-python>=0.13.1,<0.17.0" meson-python