wf-config: fix cross
We need to tell meson we won't be running the tests when nativeCheckInputs won't be included, or it will fail when it can't find doctest.
This commit is contained in:
parent
cf8e955712
commit
d9cb65a263
|
@ -44,6 +44,10 @@ stdenv.mkDerivation rec {
|
|||
# CMake is just used for finding doctest.
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
mesonFlags = [
|
||||
(lib.mesonEnable "tests" (stdenv.buildPlatform.canExecute stdenv.hostPlatform))
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue