python3.pkgs.nox: use writableTmpDirAsHomeHook
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
# tests
|
||||
pytestCheckHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
|
||||
# passthru
|
||||
tox,
|
||||
@@ -64,12 +65,9 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "nox" ];
|
||||
|
||||
disabledTests = [
|
||||
|
||||
Reference in New Issue
Block a user