From 65d74ea9826272b9178fbdfc5d5116efc01f1c7d Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 21 Oct 2016 21:54:51 -0700 Subject: [PATCH] [Shell] Put cabal/bin after local/bin for stack --- dotfiles/lib/shellpath.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/lib/shellpath.sh b/dotfiles/lib/shellpath.sh index 094c8851..52e6c727 100644 --- a/dotfiles/lib/shellpath.sh +++ b/dotfiles/lib/shellpath.sh @@ -135,5 +135,7 @@ function _path_helper { } function _haskell_setup { - add_to_path "$HOME/.cabal/bin" --before + # We put cabal after local/bin because we want stack installs to take + # precedence. + add_to_path "$HOME/.cabal/bin" --after --target "$HOME/.local/bin" }