diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2024-05-22 14:31:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 14:31:15 +0200 |
commit | 86c6b7e909a5092c4c389ff7652e36f74effbc30 (patch) | |
tree | 9e2f94e05d47812237073b573708f8eb5272bdbf /pkgs | |
parent | da127f212e0cc14069b0928e196246cddaf2326f (diff) | |
parent | f0def91683693e0d4d77b558395502fb5ec87689 (diff) |
Merge pull request #313373 from teidesu/zhf/antlr2
antlr2: fixed darwin build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/tools/parsing/antlr/2.7.7.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/tools/parsing/antlr/2.7.7.nix b/pkgs/development/tools/parsing/antlr/2.7.7.nix index b7437d70bf80f..a47918f4354b1 100644 --- a/pkgs/development/tools/parsing/antlr/2.7.7.nix +++ b/pkgs/development/tools/parsing/antlr/2.7.7.nix @@ -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 = '' |