mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
pypy3Packages.meson: fix postPatch
This commit is contained in:
parent
195fce926c
commit
6517fae64e
1 changed files with 6 additions and 4 deletions
|
|
@ -72,11 +72,11 @@ python3.pkgs.buildPythonApplication rec {
|
|||
if python3.isPyPy then
|
||||
''
|
||||
substituteInPlace mesonbuild/modules/python.py \
|
||||
--replace-fail "PythonExternalProgram('python3', mesonlib.python_command)" \
|
||||
"PythonExternalProgram('${python3.meta.mainProgram}', mesonlib.python_command)"
|
||||
--replace-fail "PythonExternalProgram('python3', mesonlib.python_command" \
|
||||
"PythonExternalProgram('${python3.meta.mainProgram}', mesonlib.python_command"
|
||||
substituteInPlace mesonbuild/modules/python3.py \
|
||||
--replace-fail "state.environment.lookup_binary_entry(mesonlib.MachineChoice.HOST, 'python3')" \
|
||||
"state.environment.lookup_binary_entry(mesonlib.MachineChoice.HOST, '${python3.meta.mainProgram}')"
|
||||
--replace-fail "state.environment.lookup_binary_entry(mesonlib.MachineChoice.HOST, 'python3'" \
|
||||
"state.environment.lookup_binary_entry(mesonlib.MachineChoice.HOST, '${python3.meta.mainProgram}'"
|
||||
substituteInPlace "test cases"/*/*/*.py "test cases"/*/*/*/*.py \
|
||||
--replace-quiet '#!/usr/bin/env python3' '#!/usr/bin/env pypy3' \
|
||||
--replace-quiet '#! /usr/bin/env python3' '#!/usr/bin/env pypy3'
|
||||
|
|
@ -141,6 +141,8 @@ python3.pkgs.buildPythonApplication rec {
|
|||
++ lib.optionals python3.isPyPy [
|
||||
# fails for unknown reason
|
||||
"test cases/python/4 custom target depends extmodule"
|
||||
# we patch the path to the binary...
|
||||
"test cases/common/26 find program"
|
||||
]
|
||||
))
|
||||
++ [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue