mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
b6c05bc367
Currently, catch2 is listed in checkInputs, which means it is not available when cross-compiling. On the other hand, -DSPDLOG_BUILD_TESTS=ON is passed unconditionally, causing the build to fail when cross-compiling. This can be fixed either by moving catch2 to buildInputs or by only building the tests when doCheck is true. This patch implements the former solution, so the tests are always built even if they cannot be run. |
||
---|---|---|
.. | ||
default.nix |