diff --git a/pkgs/development/python-modules/python-fx/default.nix b/pkgs/development/python-modules/python-fx/default.nix index 2f63ca723426..7934e0c15312 100644 --- a/pkgs/development/python-modules/python-fx/default.nix +++ b/pkgs/development/python-modules/python-fx/default.nix @@ -45,6 +45,10 @@ buildPythonPackage rec { rm src/pyfx/model/common/jsonpath/*.py # upstream checks in generated files, remove to ensure they were regenerated antlr -Dlanguage=Python3 -visitor src/pyfx/model/common/jsonpath/*.g4 rm src/pyfx/model/common/jsonpath/*.{g4,interp,tokens} # no need to install + + # https://github.com/cielong/pyfx/pull/148 + substituteInPlace src/pyfx/view/common/frame.py \ + --replace-fail "self.__super.__init__()" "super().__init__()" ''; pythonRelaxDeps = true;