diff --git a/pkgs/development/embedded/platformio/core.nix b/pkgs/development/embedded/platformio/core.nix index 7a739443c37a..ece863e50baf 100644 --- a/pkgs/development/embedded/platformio/core.nix +++ b/pkgs/development/embedded/platformio/core.nix @@ -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