Merge pull request #313373 from teidesu/zhf/antlr2

antlr2: fixed darwin build
This commit is contained in:
Weijia Wang
2024-05-22 14:31:15 +02:00
committed by GitHub
@@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
patches = [ ./2.7.7-fixes.patch ];
buildInputs = [ jdk ];
CXXFLAGS = lib.optionalString stdenv.isDarwin "-D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION";
meta = with lib; {
description = "Powerful parser generator";
longDescription = ''