From d28249cfd262baa408d840d91ff2b46d9578ce34 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Tue, 1 Nov 2022 03:00:11 +0100 Subject: [PATCH] rapidfuzz-cpp: fix build on aarch64-darwin --- pkgs/development/libraries/rapidfuzz-cpp/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/rapidfuzz-cpp/default.nix b/pkgs/development/libraries/rapidfuzz-cpp/default.nix index 04698cc1a9c0..8310e9444aae 100644 --- a/pkgs/development/libraries/rapidfuzz-cpp/default.nix +++ b/pkgs/development/libraries/rapidfuzz-cpp/default.nix @@ -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 ];