Skip to content

Commit 5790334

Browse files
davesnxandreypopp
authored andcommitted
Change opam env to set switch, not variable
1 parent efe1007 commit 5790334

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.envrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
export OPAMSWITCH="$PWD"
2-
eval $(opam env)
1+
eval $(opam env --switch=. --set-switch)
32
PATH_add "$PWD/_bin"

0 commit comments

Comments
 (0)