mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 00:08:32 +01:00
electron-cash: enable tests
This commit is contained in:
parent
804105e6b7
commit
07f53c71e8
1 changed files with 8 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue