diff --git a/pkgs/servers/janus-gateway/default.nix b/pkgs/servers/janus-gateway/default.nix index 9a0ecad23dd4df..34682f7495fa6b 100644 --- a/pkgs/servers/janus-gateway/default.nix +++ b/pkgs/servers/janus-gateway/default.nix @@ -44,6 +44,8 @@ stdenv.mkDerivation rec { makeFlags = [ "BORINGSSL_LIBS=-L${lib.getLib boringssl}/lib" + # Linkding with CXX because boringssl static libraries depend on C++ stdlib. + "CCLD=${stdenv.cc.targetPrefix}c++" ]; outputs = [ "out" "dev" "doc" "man" ];