meson: Fix cross
The old `CC=.. CXX= .. meson ...` env var hack I removed in
3c00ca03a2
had a side effect of ensuring
that Meson always had access to a native C compiler, which unforunately
it expects in most cases. Thankfully, that will be fixed soon.
This commit is contained in:
parent
cf858e6d57
commit
38b084f621
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
, stdenv
|
, stdenv
|
||||||
, writeTextDir
|
, writeTextDir
|
||||||
, substituteAll
|
, substituteAll
|
||||||
|
, pkgsHostHost
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
|
@ -58,6 +59,10 @@ python3Packages.buildPythonApplication rec {
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
|
# Ensure there will always be a native C compiler when meson is used, as a
|
||||||
|
# workaround until https://github.com/mesonbuild/meson/pull/6512 lands.
|
||||||
|
depsHostHostPropagated = [ pkgsHostHost.stdenv.cc ];
|
||||||
|
|
||||||
# 0.45 update enabled tests but they are failing
|
# 0.45 update enabled tests but they are failing
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
# checkInputs = [ ninja pkgconfig ];
|
# checkInputs = [ ninja pkgconfig ];
|
||||||
|
|
Loading…
Reference in a new issue