Unverified Commit 10f8e3c6 authored by Stefan Frijters's avatar Stefan Frijters
Browse files

ripe-atlas-tools: use writableTmpDirAsHomeHook

parent 521a910a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  python3,
  fetchFromGitHub,
  installShellFiles,
  writableTmpDirAsHomeHook,
}:

python3.pkgs.buildPythonApplication (finalAttrs: {
@@ -61,6 +62,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {

  nativeCheckInputs = with python3.pkgs; [
    pytestCheckHook
    writableTmpDirAsHomeHook # for cache generation.
  ];

  disabledTests = [
@@ -85,8 +87,6 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
    "tests/test_docs.py"
  ];

  env.HOME = "$TMPDIR"; # for cache generation.

  # Necessary because it confuse the tests when it does "from ripe.atlas.sagan import X"
  # version.py is used by Sphinx tests.
  preCheck = ''