From: Julien Lepiller <julien@lepiller.eu>
To: Garek Dyszel <garekdyszel@disroot.org>
Cc: help-guix@gnu.org
Subject: Re: Ocamlfind doesn't find arbitrary library
Date: Thu, 21 Sep 2023 18:39:51 +0200 [thread overview]
Message-ID: <20230921183951.70158a92@lepiller.eu> (raw)
In-Reply-To: <87jzsjh8cp.fsf@disroot.org>
Le Thu, 21 Sep 2023 11:08:38 -0400,
Garek Dyszel <garekdyszel@disroot.org> a écrit :
> Hi Guix,
>
> While trying to get Coq to find a certain package that is part of its
> dependency chain, I stumbled upon the following seemingly-general
> problem. It seems that Ocaml packages are not in general detected by
> findlib.
>
> Probably I'm missing something really simple because I'm not too
> familiar with Ocaml, but it looks to me to be maybe a Guix-specific
> problem.
>
> Thanks for any and all help!
> Garek
>
> ---
> Command from which this originates:
> --8<---------------cut here---------------start------------->8---
> $ guix shell ocaml-findlib ocaml-sha -- ocamlfind list
You have to add ocaml@4, otherwise Guix will not create the necessary
environment variables in the shell. With it, sha is listed.
> bigarray (version: [distributed with Ocaml])
> bytes (version: [distributed with OCaml 4.02 or above])
> compiler-libs (version: [distributed with Ocaml])
> compiler-libs.bytecomp (version: [distributed with Ocaml])
> compiler-libs.common (version: [distributed with Ocaml])
> compiler-libs.native-toplevel (version: [distributed with Ocaml])
> compiler-libs.optcomp (version: [distributed with Ocaml])
> compiler-libs.toplevel (version: [distributed with Ocaml])
> dynlink (version: [distributed with Ocaml])
> findlib (version: 1.9.5)
> findlib.dynload (version: 1.9.5)
> findlib.internal (version: 1.9.5)
> findlib.top (version: 1.9.5)
> ocamldoc (version: [distributed with Ocaml])
> stdlib (version: [distributed with Ocaml])
> str (version: [distributed with Ocaml])
> threads (version: [distributed with Ocaml])
> threads.none (version: [internal])
> threads.posix (version: [internal])
> unix (version: [distributed with Ocaml])
> --8<---------------cut here---------------end--------------->8---
>
>
prev parent reply other threads:[~2023-09-21 16:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-21 15:08 Ocamlfind doesn't find arbitrary library Garek Dyszel
2023-09-21 16:39 ` Julien Lepiller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230921183951.70158a92@lepiller.eu \
--to=julien@lepiller.eu \
--cc=garekdyszel@disroot.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.