fava: fix disabled cli test
This commit is contained in:
parent
bff7842b1e
commit
acb2c75e70
@ -11,6 +11,10 @@ python3Packages.buildPythonApplication rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3Packages; [ setuptools-scm ];
|
nativeBuildInputs = with python3Packages; [ setuptools-scm ];
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace tests/test_cli.py \
|
||||||
|
--replace-fail '"fava"' '"${placeholder "out"}/bin/fava"'
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
babel
|
babel
|
||||||
@ -41,11 +45,6 @@ python3Packages.buildPythonApplication rec {
|
|||||||
export HOME=$TEMPDIR
|
export HOME=$TEMPDIR
|
||||||
'';
|
'';
|
||||||
|
|
||||||
disabledTests = [
|
|
||||||
# runs fava in debug mode, which tries to interpret bash wrapper as Python
|
|
||||||
"test_cli"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Web interface for beancount";
|
description = "Web interface for beancount";
|
||||||
mainProgram = "fava";
|
mainProgram = "fava";
|
||||||
|
Loading…
Reference in New Issue
Block a user