spdlog: fix build with Catch2 3.9.0

This commit is contained in:
Robert Schütz
2025-09-04 15:00:09 -07:00
parent 7c2b111165
commit 5ec404e57d
+6
View File
@@ -24,6 +24,12 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-9RhB4GdFjZbCIfMOWWriLAUf9DE/i/+FTXczr0pD0Vg=";
};
postPatch = ''
# https://github.com/gabime/spdlog/pull/3451
substituteInPlace tests/CMakeLists.txt \
--replace-fail 'COMMAND ''${test_target})' 'COMMAND ''${test_target} --order decl)'
'';
nativeBuildInputs = [ cmake ];
# Required to build tests, even if they aren't executed
buildInputs = [ catch2_3 ];