aboutsummaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorClombrong <clombrong@egregore.fun>2025-04-19 12:51:26 +0200
committerClombrong <cromblong@egregore.fun>2025-04-19 12:51:26 +0200
commit4dc8b3c4019549378bbf59a85b54a7eef9f55855 (patch)
treed6f7cc9e6a9abed32d920934421a5da5b06c10c2 /.envrc
init: Oh no. This one is real.
add README and COPYING license files instantiate all dune stanzas setup dune with guix shell and direnv, using merlin for project setup
Diffstat (limited to '.envrc')
-rw-r--r--.envrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..d7e0600
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,5 @@
+eval $(guix shell --search-paths)
+eval $(opam env)
+# OCaml needs this to locate some shims.
+export OCAMLPATH=$OPAM_SWITCH_PREFIX/lib:$OCAMLPATH
+export EMACSLOADPATH="$(opam var share)/emacs/site-lisp:$EMACSLOADPATH"