caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: ygrek <ygrek@autistici.org>
To: caml-list@inria.fr
Subject: Re: [Caml-list] One shot OPAM
Date: Mon, 22 Sep 2014 18:33:19 +0800	[thread overview]
Message-ID: <20140922183319.6f682cdc@kiwi.local.tld> (raw)
In-Reply-To: <CAHR=VkxyvJy8c5VHzqNCimZqYMSHDciVwpk1z46v3-ref0mM2g@mail.gmail.com>

On Mon, 22 Sep 2014 12:16:20 +0200
Thomas Braibant <thomas.braibant@gmail.com> wrote:

> I would like to use OPAM on Windows, but the experience I got from it
> was a mixed bag. Leaving that aside, what I really want is in fact the
> ability to get the sources of some packages, compile them, install
> them, compile a piece of software and then throw away the Windows VM.
> 
> I think I heard/read about someone using opam files to generate a
> script that do contains everything needed to download/install a set of
> packages automatically. Has anyone done something like
> that, or have I been dreaming?

Have a look at https://github.com/ocaml/opam/pull/1190
The fundamental limitation is that it uses current (local) state of OPAM to generate
the script, i.e. may pick up the optional dependencies that are not strictly needed etc etc.
But the idea is that one can create a fresh switch to run the bundler in.

-- 

      reply	other threads:[~2014-09-22 10:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-22 10:16 Thomas Braibant
2014-09-22 10:33 ` ygrek [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=20140922183319.6f682cdc@kiwi.local.tld \
    --to=ygrek@autistici.org \
    --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).