Commit 26bc2dc4 authored by Doron Behar's avatar Doron Behar
Browse files

python3.pkgs.jedi-language-server: use writableTmpDirAsHomeHook

parent 5e99c199
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -19,6 +19,7 @@
  pytestCheckHook,
  pyhamcrest,
  python-lsp-jsonrpc,
  writableTmpDirAsHomeHook,
}:

buildPythonPackage rec {
@@ -51,12 +52,9 @@ buildPythonPackage rec {
    pytestCheckHook
    pyhamcrest
    python-lsp-jsonrpc
    writableTmpDirAsHomeHook
  ];

  preCheck = ''
    HOME="$(mktemp -d)"
  '';

  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
    # https://github.com/pappasam/jedi-language-server/issues/313
    "test_publish_diagnostics_on_change"