caml-list - the Caml user's mailing list
 help / Atom feed
From: Gabriel Scherer <>
To: Kenichi Asai <>
Cc: caml users <>
Subject: Re: [Caml-list] Local switch using opam 2
Date: Wed, 10 Apr 2019 11:07:54 +0200
Message-ID: <> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 1146 bytes --]

Dear Kenichi,

Our short-term plan is to merge opam file in the OCaml compiler
distribution so that "opam pin ." or "opam install ." or "opam switch
create ." works as for any other opam packages. There is an in-progress
proposal by Leo White in ; before
that gets finished and integrated, please feel free to download the patch
proposed and use it locally.

On Wed, Apr 10, 2019 at 2:35 AM Kenichi Asai <> wrote:

> I want to create a local switch for a particular version of OCaml
> with my own patch applied using opam 2.  For opam 1.2.2, I did the
> following rather low-level thing:
> - create a directory: ~/.opam/compilers/4.04.0/4.04.0+my-ocaml
> - place two files in this directory:
>   4.04.0+type-debugger.comp, containing where opam can find my own patch
>   4.04.0+type-debugger.descr, with a description of the compiler
> - add an entry to ~/.opam/repo/compiler-index:
>   4.04.0+my-ocaml default 4.04.0/4.04.0+my-ocaml
> and then execute opam switch 4.04.0+my-ocaml.  Can I do the similar
> thing in opam 2?  Thank you in advance for any info.
> --
> Kenichi Asai

[-- Attachment #2: Type: text/html, Size: 1625 bytes --]

  reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-10  0:35 Kenichi Asai
2019-04-10  9:08 ` Gabriel Scherer [this message]
2019-04-13 11:15   ` Kenichi Asai

Reply instructions:

You may reply publically 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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

caml-list - the Caml user's mailing list

Archives are clonable: git clone --mirror

AGPL code for this site: git clone public-inbox