diff --git a/Dockerfile b/Dockerfile index 347320a6..2500ee2e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,7 +73,6 @@ COPY --from=compilation "$opam_switch/lib/gg" "$opam_switch/lib/gg" # Fixes for ocamlfind COPY --from=compilation "$opam_switch/lib/findlib.conf" "$opam_switch/lib/" -COPY --from=compilation "$opam_switch/lib/stdlib" "$opam_switch/lib/stdlib" ENV PATH="${opam_switch}/bin:${PATH}" ENV OCAMLPATH="/usr/lib" RUN ln -sf "$opam_switch/lib/vg" "/usr/lib" diff --git a/learn-ocaml-client.opam b/learn-ocaml-client.opam index 35a7945e..889c0f0b 100644 --- a/learn-ocaml-client.opam +++ b/learn-ocaml-client.opam @@ -44,6 +44,7 @@ depends: [ "ppx_sexp_conv" "ssl" {>= "0.5.12"} "vg" + "asak" {>= "0.5"} ] build: [ ["dune" "build" "@install" "-p" name "-j" jobs] @@ -53,3 +54,9 @@ description: """ This contains the binaries to interact with the learn-ocaml platform from the command line. """ +pin-depends: [ + [ + "asak.0.5" + "git+https://github.com/AltGr/asak#ocaml5" + ] +] diff --git a/learn-ocaml-client.opam.locked b/learn-ocaml-client.opam.locked index 7ce2b587..28b20250 100644 --- a/learn-ocaml-client.opam.locked +++ b/learn-ocaml-client.opam.locked @@ -22,6 +22,7 @@ homepage: "https://github.com/ocaml-sf/learn-ocaml" bug-reports: "https://github.com/ocaml-sf/learn-ocaml/issues" depends: [ "angstrom" {= "0.15.0"} + "asak" {= "0.5"} "asn1-combinators" {= "0.2.6"} "astring" {= "0.8.5"} "base" {= "v0.16.3"} @@ -143,6 +144,9 @@ depends: [ build: ["dune" "build" "@install" "-p" name "-j" jobs] dev-repo: "git+https://github.com/ocaml-sf/learn-ocaml" pin-depends: [ + ["asak.0.5" "git+https://github.com/AltGr/asak#ocaml5"] + [ "ocp-indent-nlfork.1.5.5" "git+https://git@github.com/OCamlPro/ocp-indent.git#nlfork" ] +]