From f2de80b0581375263569269eae00a31862f8e4f1 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Fri, 1 Dec 2023 19:47:08 -0600 Subject: fix(ocaml): fix ocaml configs --- sh/.config/profile.d/50-opam.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sh/.config/profile.d/50-opam.sh') diff --git a/sh/.config/profile.d/50-opam.sh b/sh/.config/profile.d/50-opam.sh index 5022a7c..1caea3b 100644 --- a/sh/.config/profile.d/50-opam.sh +++ b/sh/.config/profile.d/50-opam.sh @@ -1,3 +1,9 @@ #!/bin/sh export OPAMROOT="$XDG_DATA_HOME/opam" +export OPAM_SWITCH_PREFIX="$OPAMROOT/default" +export CAML_LD_LIBRARY_PATH="$OPAM_SWITCH_PREFIX/lib/stublibs:/usr/lib/ocaml/stublibs:/usr/lib/ocaml" +export OCAML_TOPLEVEL_PATH="$OPAM_SWITCH_PREFIX/lib/toplevel" +export MANPATH="$MANPATH:$OPAM_SWITCH_PREFIX/man" + +append_path "$OPAM_SWITCH_PREFIX/bin" -- cgit v1.2.3-70-g09d2