Skip to content

Commit eb4d9ed

Browse files
authored
Merge pull request #375 from talex5/beta2
Update README for OCaml 5.0.0~beta2
2 parents 683e8dd + 29a2afe commit eb4d9ed

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
FROM ocaml/opam:debian-11-ocaml-5.0
22
# Make sure we're using opam-2.1:
33
RUN sudo ln -sf /usr/bin/opam-2.1 /usr/bin/opam
4-
# Add the alpha repository with some required preview versions of dependencies:
5-
RUN opam remote add alpha git+https://github.com/kit-ty-kate/opam-alpha-repository.git
64
# Ensure opam-repository is up-to-date:
7-
RUN cd opam-repository && git pull -q origin 7791c44928d6c1594479a50bb8051856fa2c0ca1 && opam update
5+
RUN cd opam-repository && git pull -q origin 2b82c83694d8f1db63e504823646ffcb51562f75 && opam update
86
# Switch to OCaml 5.0.0 (beta)
9-
RUN opam pin remove ocaml-variants && opam install ocaml-base-compiler.5.0.0~beta1 --update-invariant
7+
RUN opam pin remove ocaml-variants && opam install ocaml-base-compiler.5.0.0~beta2 --update-invariant
108
# Install utop for interactive use:
119
RUN opam install utop fmt
1210
# Install Eio's dependencies (adding just the opam files first to help with caching):

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,17 +109,17 @@ Remember that you can always fall back to using Lwt libraries to provide missing
109109

110110
## Getting OCaml 5.0
111111

112-
You'll need OCaml 5.0.0~beta1.
112+
You'll need OCaml 5.0.0~beta2.
113113
You can either install it yourself or build the included [Dockerfile](./Dockerfile).
114114

115115
To install it yourself:
116116

117117
1. Make sure you have opam 2.1 or later (run `opam --version` to check).
118118

119-
2. Use opam to install OCaml 5.0.0~beta1:
119+
2. Use opam to install OCaml 5.0.0~beta2:
120120

121121
```
122-
opam switch create 5.0.0~beta1 --repo=default,alpha=git+https://github.com/kit-ty-kate/opam-alpha-repository.git
122+
opam switch create 5.0.0~beta2
123123
```
124124

125125
## Getting Eio

0 commit comments

Comments
 (0)