maestral: fix tests

This commit is contained in:
Peter Hoeg 2022-07-30 21:06:26 +08:00 committed by Jonathan Ringer
parent 40d72b38c5
commit f6e857bccb

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, makePythonPath
, pythonOlder
, python
, click
@ -57,14 +58,18 @@ buildPythonPackage rec {
makeWrapperArgs = [
# Add the installed directories to the python path so the daemon can find them
"--prefix" "PYTHONPATH" ":" "${lib.concatStringsSep ":" (map (p: p + "/lib/${python.libPrefix}/site-packages") (python.pkgs.requiredPythonModules propagatedBuildInputs))}"
"--prefix" "PYTHONPATH" ":" "$out/lib/${python.libPrefix}/site-packages"
"--prefix PYTHONPATH : ${makePythonPath propagatedBuildInputs}"
"--prefix PYTHONPATH : $out/lib/${python.libPrefix}/site-packages"
];
checkInputs = [
pytestCheckHook
];
preCheck = ''
export HOME=$(mktemp -d)
'';
disabledTests = [
# We don't want to benchmark
"test_performance"