rapidfuzz-cpp: fix build on aarch64-darwin

This commit is contained in:
Weijia Wang 2022-11-01 03:00:11 +01:00 committed by Robert Schütz
parent d38afed36a
commit d28249cfd2

View File

@ -28,6 +28,11 @@ stdenv.mkDerivation rec {
"-DRAPIDFUZZ_BUILD_TESTING=ON"
];
CXXFLAGS = lib.optionals stdenv.cc.isClang [
# error: no member named 'fill' in namespace 'std'
"-include algorithm"
];
checkInputs = [
catch2_3
];