guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/28: gnu: opam: Use OCaml 4.14 compiled version when building OCaml 5.


From: guix-commits
Subject: 05/28: gnu: opam: Use OCaml 4.14 compiled version when building OCaml 5.0 packages.
Date: Wed, 21 Dec 2022 16:11:41 -0500 (EST)

roptat pushed a commit to branch master
in repository guix.

commit 642cf11aa2715b939ed450ccddc00860b22b709e
Author: pukkamustard <pukkamustard@posteo.net>
AuthorDate: Fri Dec 16 13:25:04 2022 +0000

    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>
---
 gnu/packages/ocaml.scm | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index adbb76711e..f32d7b4f22 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -962,10 +962,12 @@ name = Guix Builder")
          ("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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]