aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sh
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2023-12-01 19:47:08 -0600
committerToby Vincent <tobyv@tobyvin.dev>2023-12-01 19:47:08 -0600
commitf2de80b0581375263569269eae00a31862f8e4f1 (patch)
treecae9e32e1a8f8bbd5b27cdbeb88e6aeae6227f87 /sh
parent61f4c84f3ce89c07f69498aac57e68bff1148be3 (diff)
fix(ocaml): fix ocaml configs
Diffstat (limited to 'sh')
-rw-r--r--sh/.config/profile.d/50-opam.sh6
1 files changed, 6 insertions, 0 deletions
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"