ansible-later: migrate to writableTmpDirAsHomeHook

This commit is contained in:
Fabian Affolter
2025-03-16 09:39:13 +01:00
parent b5371140da
commit 5ba3e374e9
+2 -4
View File
@@ -2,6 +2,7 @@
lib,
fetchFromGitHub,
python3Packages,
writableTmpDirAsHomeHook,
}:
python3Packages.buildPythonApplication rec {
@@ -43,14 +44,11 @@ python3Packages.buildPythonApplication rec {
pytest-cov-stub
pytest-mock
pytestCheckHook
writableTmpDirAsHomeHook
];
pythonImportsCheck = [ "ansiblelater" ];
preCheck = ''
export HOME="$TMPDIR"
'';
meta = {
description = "Best practice scanner for Ansible roles and playbooks";
homepage = "https://github.com/thegeeklab/ansible-later";