maestral: fix tests
This commit is contained in:
parent
40d72b38c5
commit
f6e857bccb
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user