mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
rockcraft: use writableTmpDirAsHomeHook
for checks
This commit is contained in:
parent
c5c77ad7f7
commit
b64bbcf19d
1 changed files with 2 additions and 5 deletions
|
@ -7,6 +7,7 @@
|
||||||
testers,
|
testers,
|
||||||
rockcraft,
|
rockcraft,
|
||||||
cacert,
|
cacert,
|
||||||
|
writableTmpDirAsHomeHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
|
@ -39,14 +40,10 @@ python3Packages.buildPythonApplication rec {
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytest-subprocess
|
pytest-subprocess
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
writableTmpDirAsHomeHook
|
||||||
]
|
]
|
||||||
++ [ dpkg ];
|
++ [ dpkg ];
|
||||||
|
|
||||||
preCheck = ''
|
|
||||||
mkdir -p check-phase
|
|
||||||
export HOME="$(pwd)/check-phase"
|
|
||||||
'';
|
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"test_project_all_platforms_invalid"
|
"test_project_all_platforms_invalid"
|
||||||
"test_run_init_flask"
|
"test_run_init_flask"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue