Skip to content

Commit

Permalink
fix(test): no-ocamlfind-in-path
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
  • Loading branch information
anmonteiro committed Mar 29, 2023
1 parent 5a0b731 commit fffc8a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dune_rules/context.ml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ module Build_environment_kind = struct
| None, Cross_compilation_using_findlib_toolchain toolchain ->
User_error.raise
[ Pp.textf
"Could not find findlib in PATH or an environment variable \
"Could not find `ocamlfind' in PATH or an environment variable \
`OCAMLFIND_CONF' while cross-compiling with toolchain `%s'"
(Context_name.to_string toolchain)
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ isn't set
$ DUNE_PATH=$(dirname `which dune`)
$ SH_PATH=$(dirname `which sh`)
$ env ORIG_PATH="$PATH" PATH="$SH_PATH:$DUNE_PATH:$PWD/ocaml-bin" dune build @install -x foo
Error: Could not find ocamlfind in PATH or an environment variable
Error: Could not find `ocamlfind' in PATH or an environment variable
`OCAMLFIND_CONF' while cross-compiling with toolchain `foo'
Hint:
- `opam install ocamlfind' and/or:
Expand Down

0 comments on commit fffc8a6

Please sign in to comment.