caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Kenichi Asai <asai@is.ocha.ac.jp>
To: caml-list@inria.fr
Subject: [Caml-list] Local switch using opam 2
Date: Wed, 10 Apr 2019 09:35:01 +0900	[thread overview]
Message-ID: <20190410003501.GA68405@pllab.is.ocha.ac.jp> (raw)

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

             reply	other threads:[~2019-04-10  0:35 UTC|newest]

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

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=20190410003501.GA68405@pllab.is.ocha.ac.jp \
    --to=asai@is.ocha.ac.jp \
    --cc=caml-list@inria.fr \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).