electron-cash: enable tests

This commit is contained in:
nyanloutre 2019-05-03 01:17:58 +02:00 committed by Lassulus
parent 804105e6b7
commit 07f53c71e8

View File

@ -48,7 +48,14 @@ python3Packages.buildPythonApplication rec {
--replace "(share_dir" "(\"share\""
'';
doCheck = false;
checkInputs = with python3Packages; [
pytest
];
checkPhase = ''
unset HOME
pytest lib/tests
'';
postInstall = ''
substituteInPlace $out/share/applications/electron-cash.desktop \