platformio: use writableTmpDirAsHomeHook (#398978)

This commit is contained in:
Weijia Wang
2025-04-15 23:26:27 +02:00
committed by GitHub
@@ -7,6 +7,7 @@
git,
spdx-license-list-data,
replaceVars,
writableTmpDirAsHomeHook,
}:
with python3Packages;
@@ -88,13 +89,13 @@ buildPythonApplication rec {
];
preCheck = ''
export HOME=$(mktemp -d)
export PATH=$PATH:$out/bin
'';
nativeCheckInputs = [
jsondiff
pytestCheckHook
writableTmpDirAsHomeHook
];
# Install udev rules into a separate output so all of platformio-core is not a dependency if