Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix esy installation #104

Merged
merged 2 commits into from
Aug 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion digestif.opam
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ depends: [
"astring" {with-test}
"fpath" {with-test}
"rresult" {with-test}
"ocamlfind" {build & with-test}
"ocamlfind" {with-test}
]

depopts: [
Expand Down
10 changes: 5 additions & 5 deletions install/install.ml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
#!/usr/bin/env ocaml

;;
#use "topfind"

;;
#require "unix"
#load "unix.cma"

let xen = "xen_linkopts = \"-l:rakia/xen/librakia_xen_stubs.a\""

let freestanding =
"freestanding_linkopts = \
\"-l:rakia/freestanding/librakia_freestanding_stubs.a\""

let meta = "_build/default/META.digestif"
let meta =
match Sys.getenv "DUNE_BUILD_DIR" with
| _build -> _build ^ "/default/META.digestif"
| exception Not_found -> "_build/default/META.digestif"

let new_line = '\n'

Expand Down