Commit d9cb65a2 authored by Alyssa Ross's avatar Alyssa Ross Committed by Anderson Torres
Browse files

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.
parent cf8e9557
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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; {