1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 17:46:29 +09:00

platformio: use writableTmpDirAsHomeHook

This commit is contained in:
Daniel Nagy 2025-04-15 22:30:00 +02:00
parent bd7e4a1da3
commit 8f24fe5d76
No known key found for this signature in database

View file

@ -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