Skip to content

Instantly share code, notes, and snippets.

@ManasJayanth
Last active May 29, 2020 04:41
Show Gist options
  • Save ManasJayanth/fddaaf71b41d9d0b8367780967c7d203 to your computer and use it in GitHub Desktop.
Save ManasJayanth/fddaaf71b41d9d0b8367780967c7d203 to your computer and use it in GitHub Desktop.
Dune 2.3.1 on esy
{
"dependencies": {
"ocaml": "4.6.x",
"@opam/ocaml-lsp-server": "ocaml/ocaml-lsp:ocaml-lsp-server.opam"
},
"resolutions": {
"@opam/dune": {
"source": "https://github.com/ocaml/dune/releases/download/2.5.1/dune-2.5.1.tbz#6c09f4d53e9169498ab017597c4343ceb00f6ead",
"override": {
"buildsInSource": true,
"build": [
["ocaml", "configure.ml", "--libdir", "#{self.lib}"],
["ocaml", "bootstrap.ml"],
["./dune.exe", "build", "-p", "dune", "--profile", "dune-bootstrap"]
],
"install": "esy-installer dune.install",
"buildEnv": {
"OCAMLFIND_CONF": "$SECONDARY_OCAMLFIND_CONF"
},
"dependencies": {
"esy-secondary-toolchain-findlib-conf": "*"
}
}
},
"esy-secondary-toolchain-findlib-conf": "prometheansacrifice/esy-secondary-toolchain-findlib-conf#3b2d207",
"@opam/ocaml-secondary-compiler": "esy-ocaml/ocaml#a5a77246b60f3"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment