Skip to content

Commit

Permalink
Note about exec-path-from-shell
Browse files Browse the repository at this point in the history
cf. #2331 (comment)

(i was trying to do both, but it is not necessary given spacemacs defaults)
  • Loading branch information
srid authored and syl20bnr committed Jul 30, 2015
1 parent 8f8738e commit fc95a4d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions contrib/!lang/haskell/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,15 @@ To install them, use the following command:
Then you have to add this path to your system =$PATH= (preferred):
Note that on *Linux* distributions the installed binaries should be in
=~/.cabal/bin= and on *OS X* the binaries are installed in
=/Users/<username>/Library/Haskell/bin=.
=/Users/<username>/Library/Haskell/bin=. Spacemacs will automatically
pick up shell PATH.

#+BEGIN_SRC sh
export PATH=~/.cabal/bin/:$PATH
#+END_SRC

_or_ to the Emacs =exec-path= variable in the =dotspacemacs/init= function of
your =.spacemacs= file:
_Alternatively_, you can add it to the Emacs =exec-path= variable in the
=dotspacemacs/init= function of your =.spacemacs= file:

#+BEGIN_SRC emacs-lisp
(add-to-list 'exec-path "~/.cabal/bin/")
Expand Down

0 comments on commit fc95a4d

Please sign in to comment.