diff --git a/pkgs/applications/office/fava/default.nix b/pkgs/applications/office/fava/default.nix index be136ba53700..d08abeb95e06 100644 --- a/pkgs/applications/office/fava/default.nix +++ b/pkgs/applications/office/fava/default.nix @@ -11,6 +11,10 @@ python3Packages.buildPythonApplication rec { }; nativeBuildInputs = with python3Packages; [ setuptools-scm ]; + postPatch = '' + substituteInPlace tests/test_cli.py \ + --replace-fail '"fava"' '"${placeholder "out"}/bin/fava"' + ''; propagatedBuildInputs = with python3Packages; [ babel @@ -41,11 +45,6 @@ python3Packages.buildPythonApplication rec { export HOME=$TEMPDIR ''; - disabledTests = [ - # runs fava in debug mode, which tries to interpret bash wrapper as Python - "test_cli" - ]; - meta = with lib; { description = "Web interface for beancount"; mainProgram = "fava";