Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

rockcraft: use `writableTmpDirAsHomeHook` for checks

Jon Seager b64bbcf1 c5c77ad7

+2 -5
+2 -5
pkgs/by-name/ro/rockcraft/package.nix
··· 7 testers, 8 rockcraft, 9 cacert, 10 }: 11 12 python3Packages.buildPythonApplication rec { ··· 39 pytest-mock 40 pytest-subprocess 41 pytestCheckHook 42 ] 43 ++ [ dpkg ]; 44 - 45 - preCheck = '' 46 - mkdir -p check-phase 47 - export HOME="$(pwd)/check-phase" 48 - ''; 49 50 disabledTests = [ 51 "test_project_all_platforms_invalid"
··· 7 testers, 8 rockcraft, 9 cacert, 10 + writableTmpDirAsHomeHook, 11 }: 12 13 python3Packages.buildPythonApplication rec { ··· 40 pytest-mock 41 pytest-subprocess 42 pytestCheckHook 43 + writableTmpDirAsHomeHook 44 ] 45 ++ [ dpkg ]; 46 47 disabledTests = [ 48 "test_project_all_platforms_invalid"