gnu: opam: Use OCaml 4.14 compiled version when building OCaml 5.0 packages.

* gnu/packages/ocaml.scm (opam)[properties]: Add ocaml5.0-variant.
  (opam)[propagated-inputs]: Move to inputs.

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

View file

@ -962,10 +962,12 @@ (define-public opam
("opam-repo-f372039d" ,(opam-repo "f372039db86a970ef3e662adbfe0d4f5cd980701"
"0ld7fcry6ss6fmrpswvr6bikgx299w97h0gwrjjh7kd7rydsjdws")))))
(inputs
(list ocaml ncurses curl bubblewrap))
(propagated-inputs
(list ocaml-cmdliner ocaml-dose3 ocaml-mccs ocaml-opam-file-format
ocaml-re))
(list ocaml ncurses curl bubblewrap ocaml-cmdliner ocaml-dose3
ocaml-mccs ocaml-opam-file-format ocaml-re))
(properties
;; OPAM is used as a tool and not as a library, we can use the OCaml 4.14
;; compiled opam until opam is compatible with OCaml 5.0.
`((ocaml5.0-variant . ,(delay opam))))
(home-page "http://opam.ocamlpro.com/")
(synopsis "Package manager for OCaml")
(description