caf: fix darwin build

This commit is contained in:
Dmitry Kalinkin
2021-12-17 21:23:52 -05:00
parent ffdad422d0
commit f3246ce683
@@ -26,6 +26,9 @@ stdenv.mkDerivation rec {
export DYLD_LIBRARY_PATH=$PWD/libcaf_core:$PWD/libcaf_io
'';
# error: 'get< ... >' is unavailable: introduced in macOS 10.13
CXXFLAGS = lib.optional (stdenv.hostPlatform.system == "x86_64-darwin") "-D_LIBCPP_DISABLE_AVAILABILITY";
meta = with lib; {
description = "An open source implementation of the actor model in C++";
homepage = "http://actor-framework.org/";