diff options
-rw-r--r-- | gnu/packages/ocaml.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index 619b3836c6..ea223e425b 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm @@ -6203,6 +6203,8 @@ interfaces and the standard higher-level merlin protocol.") (modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) + ;; Tests require a writable cache directory + (setenv "HOME" "/tmp") (when tests? (invoke "dune" "runtest" "-p" "merlin,dot-merlin-reader"))))))) (propagated-inputs (list ocaml-merlin-lib ocaml-yojson)) @@ -6230,6 +6232,8 @@ Atom.") (modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) + ;; Tests require a writable cache directory + (setenv "HOME" "/tmp") (when tests? (invoke "dune" "runtest" "-p" "merlin,dot-merlin-reader"))))))) (propagated-inputs (list ocaml-merlin-lib ocaml-yojson)) |