mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: ocaml-merlin: Fix tests.
* gnu/packages/ocaml.scm (ocaml-merlin) (ocaml5.0-merlin): Fix tests Change-Id: I8a7e4cdda499a9ad7296741e4ae581d868aba31b Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
b755dce100
commit
af025cf486
1 changed files with 4 additions and 0 deletions
|
@ -6203,6 +6203,8 @@ interfaces and the standard higher-level merlin protocol.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
;; Tests require a writable cache directory
|
||||||
|
(setenv "HOME" "/tmp")
|
||||||
(when tests?
|
(when tests?
|
||||||
(invoke "dune" "runtest" "-p" "merlin,dot-merlin-reader")))))))
|
(invoke "dune" "runtest" "-p" "merlin,dot-merlin-reader")))))))
|
||||||
(propagated-inputs (list ocaml-merlin-lib ocaml-yojson))
|
(propagated-inputs (list ocaml-merlin-lib ocaml-yojson))
|
||||||
|
@ -6230,6 +6232,8 @@ Atom.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
;; Tests require a writable cache directory
|
||||||
|
(setenv "HOME" "/tmp")
|
||||||
(when tests?
|
(when tests?
|
||||||
(invoke "dune" "runtest" "-p" "merlin,dot-merlin-reader")))))))
|
(invoke "dune" "runtest" "-p" "merlin,dot-merlin-reader")))))))
|
||||||
(propagated-inputs (list ocaml-merlin-lib ocaml-yojson))
|
(propagated-inputs (list ocaml-merlin-lib ocaml-yojson))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue