From fc95a4d63c271194c445491997ea961458fd72af Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Tue, 28 Jul 2015 20:16:28 -0700 Subject: [PATCH] Note about exec-path-from-shell cf. https://github.com/syl20bnr/spacemacs/issues/2331#issuecomment-121686918 (i was trying to do both, but it is not necessary given spacemacs defaults) --- contrib/!lang/haskell/README.org | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contrib/!lang/haskell/README.org b/contrib/!lang/haskell/README.org index 1d32dab33..b63118c9e 100644 --- a/contrib/!lang/haskell/README.org +++ b/contrib/!lang/haskell/README.org @@ -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//Library/Haskell/bin=. +=/Users//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/")