On 30.12.24 20:33, Julien Lepiller wrote:
That might be a mismatch between ocaml (latest version is ocaml 5) and tge 
libraries which are currently built with ocaml4. If you try the same with 
ocaml@4, does it work?

Hi Julien!

If I try with the following manifest.scm:

~~~~manifest.scm~~~~ (specifications->manifest '("ocaml@4" "ocaml-utop" "dune" ;; "opam" "bash" "ocaml-zarith")) ~~~~

I get:

~~~~output~~~~ guix shell: warning: ambiguous package specification `ocaml@4' guix shell: warning: choosing [email protected] from gnu/packages/ocaml.scm:256:2 The following derivation will be built: /gnu/store/qzxdn126savzdn3a9ayhy3fgkl79r1y6-profile.drv building CA certificate bundle... listing Emacs sub-directories... building fonts directory... building directory of Info manuals... building profile with 5 packages... guix shell: checking the environment variables visible from shell '/bin/bash'... guix shell: All is good! The shell gets correct environment variables. File "main.ml", line 1, characters 5-6: 1 | open Z ^ Error: Unbound module Z ~~~~

So I tried with `[email protected]` instead, which according to the warning it chose anyway, due to @4 being ambiguous, but the error remains.

Regards,
Zelphir

--
repositories:https://notabug.org/ZelphirKaltstahl,https://codeberg.org/ZelphirKaltstahl

Reply via email to