Files
nixpkgs/pkgs/development/python-modules/omegaconf/antlr4.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
573 B
Diff
Raw Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/build_helpers/build_helpers.py b/build_helpers/build_helpers.py
index 6419e26..9e6c21c 100644
--- a/build_helpers/build_helpers.py
+++ b/build_helpers/build_helpers.py
@@ -30,7 +30,7 @@ class ANTLRCommand(Command): # type: ignore # pragma: no cover
command = [
"java",
"-jar",
- str(build_dir / "bin" / "antlr-4.9.3-complete.jar"),
+ "@antlr_jar@",
"-Dlanguage=Python3",
"-o",
str(project_root / "omegaconf" / "grammar" / "gen"),