python3Packages.meson-python: fixup darwin build again
The patch doesn't fully fix the problem: https://github.com/mesonbuild/meson-python/pull/761#issuecomment-2963856105 and I want to avoid rebuilding on Linux again this iteration.
This commit is contained in:
parent
9555d37496
commit
d59eb93f86
@ -1,5 +1,6 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchpatch,
|
||||
@ -56,6 +57,18 @@ buildPythonPackage rec {
|
||||
pytest-mock
|
||||
];
|
||||
|
||||
# meson-python respectes MACOSX_DEPLOYMENT_TARGET, but compares it with the
|
||||
# actual platform version during tests, which mismatches.
|
||||
# https://github.com/mesonbuild/meson-python/issues/760
|
||||
# FIXME: drop in 0.19.0
|
||||
preCheck =
|
||||
if stdenv.hostPlatform.isDarwin then
|
||||
''
|
||||
unset MACOSX_DEPLOYMENT_TARGET
|
||||
''
|
||||
else
|
||||
null;
|
||||
|
||||
setupHooks = [ ./add-build-flags.sh ];
|
||||
|
||||
meta = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user