We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9555d37 commit d59eb93Copy full SHA for d59eb93
pkgs/development/python-modules/meson-python/default.nix
@@ -1,5 +1,6 @@
1
{
2
lib,
3
+ stdenv,
4
buildPythonPackage,
5
fetchPypi,
6
fetchpatch,
@@ -56,6 +57,18 @@ buildPythonPackage rec {
56
57
pytest-mock
58
];
59
60
+ # meson-python respectes MACOSX_DEPLOYMENT_TARGET, but compares it with the
61
+ # actual platform version during tests, which mismatches.
62
+ # https://github.com/mesonbuild/meson-python/issues/760
63
+ # FIXME: drop in 0.19.0
64
+ preCheck =
65
+ if stdenv.hostPlatform.isDarwin then
66
+ ''
67
+ unset MACOSX_DEPLOYMENT_TARGET
68
69
+ else
70
+ null;
71
+
72
setupHooks = [ ./add-build-flags.sh ];
73
74
meta = {
0 commit comments