fava: fix disabled cli test

This commit is contained in:
Sigmanificient 2024-07-26 03:28:57 +02:00
parent bff7842b1e
commit acb2c75e70

View File

@ -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";