maestral: fix tests
This commit is contained in:
parent
40d72b38c5
commit
f6e857bccb
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, makePythonPath
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, python
|
, python
|
||||||
, click
|
, click
|
||||||
@ -57,14 +58,18 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
makeWrapperArgs = [
|
makeWrapperArgs = [
|
||||||
# Add the installed directories to the python path so the daemon can find them
|
# 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 : ${makePythonPath propagatedBuildInputs}"
|
||||||
"--prefix" "PYTHONPATH" ":" "$out/lib/${python.libPrefix}/site-packages"
|
"--prefix PYTHONPATH : $out/lib/${python.libPrefix}/site-packages"
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
|
'';
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
# We don't want to benchmark
|
# We don't want to benchmark
|
||||||
"test_performance"
|
"test_performance"
|
||||||
|
Loading…
Reference in New Issue
Block a user