mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
platformio: use writableTmpDirAsHomeHook
This commit is contained in:
parent
bd7e4a1da3
commit
8f24fe5d76
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
||||||
git,
|
git,
|
||||||
spdx-license-list-data,
|
spdx-license-list-data,
|
||||||
replaceVars,
|
replaceVars,
|
||||||
|
writableTmpDirAsHomeHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with python3Packages;
|
with python3Packages;
|
||||||
|
@ -88,13 +89,13 @@ buildPythonApplication rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$(mktemp -d)
|
|
||||||
export PATH=$PATH:$out/bin
|
export PATH=$PATH:$out/bin
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
jsondiff
|
jsondiff
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
writableTmpDirAsHomeHook
|
||||||
];
|
];
|
||||||
|
|
||||||
# Install udev rules into a separate output so all of platformio-core is not a dependency if
|
# Install udev rules into a separate output so all of platformio-core is not a dependency if
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue