gnu: Add ocaml5.0-eio-main.

* gnu/packages/ocaml.scm (ocaml5.0-eio-main): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
pukkamustard 2022-12-16 13:25:23 +00:00 committed by Julien Lepiller
parent 417be516de
commit cb1fe1c690
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -2903,6 +2903,27 @@ (define ocaml-eio-linux
(define-public ocaml5.0-eio-linux
(package-with-ocaml5.0 ocaml-eio-linux))
(define ocaml-eio-main
(package
(inherit ocaml-eio)
(name "ocaml-eio-main")
(arguments `(#:package "eio_main"
#:test-target "."
;; tests require network
#:tests? #f))
(propagated-inputs
(list ocaml-eio
ocaml-eio-luv
ocaml-eio-linux))
(native-inputs
(list ocaml-mdx))
(synopsis "Eio backend selector")
(description "@code{Eio_main} selects an appropriate backend (e.g.
@samp{eio_linux} or @samp{eio_luv}), depending on your platform.")))
(define-public ocaml5.0-eio-main
(package-with-ocaml5.0 ocaml-eio-main))
(define-public ocaml-lwt
(package
(name "ocaml-lwt")