···3232 cmake
3333 ];
34343535- buildInputs = [
3636- doctest
3737- ];
3838-3935 cmakeFlags = [
4036 # Always build the tests, even if not running them, because testing whether
4137 # they can be built is a test in itself.
···4339 ];
44404541 doCheck = true;
4242+ nativeCheckInputs = [
4343+ doctest
4444+ ];
4645 checkTarget = "xtest";
47464847 meta = with lib; {