summary refs log tree commit diff
path: root/pkgs/development/python-modules/antlr4-python3-runtime/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/antlr4-python3-runtime/default.nix')
-rw-r--r--pkgs/development/python-modules/antlr4-python3-runtime/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/antlr4-python3-runtime/default.nix b/pkgs/development/python-modules/antlr4-python3-runtime/default.nix
index 4f5f25d0159..39fef995bf9 100644
--- a/pkgs/development/python-modules/antlr4-python3-runtime/default.nix
+++ b/pkgs/development/python-modules/antlr4-python3-runtime/default.nix
@@ -9,7 +9,7 @@ buildPythonPackage rec {
   inherit (antlr4.runtime.cpp) version src;
   disabled = python.pythonOlder "3.6";
 
-  sourceRoot = "source/runtime/Python3";
+  sourceRoot = "${src.name}/runtime/Python3";
 
   # in 4.9, test was renamed to tests
   checkPhase = ''