Skip to content

Commit

Permalink
README: Use cabal path --installdir to augment PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
sol committed Jul 14, 2024
1 parent 03a821b commit 365b7d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ Make sure that Cabal's `bindir` is on your `PATH`.

On Linux:

export PATH="$HOME/.cabal/bin:$PATH"
export PATH="$(cabal -v0 path --installdir):$PATH"

On Mac OS X:

export PATH="$HOME/Library/Haskell/bin:$PATH"
export PATH="$(cabal -v0 path --installdir):$PATH"

On Windows:

Expand Down
4 changes: 2 additions & 2 deletions doc/README.template.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ Make sure that Cabal's `bindir` is on your `PATH`.

On Linux:

export PATH="$HOME/.cabal/bin:$PATH"
export PATH="$(cabal -v0 path --installdir):$PATH"

On Mac OS X:

export PATH="$HOME/Library/Haskell/bin:$PATH"
export PATH="$(cabal -v0 path --installdir):$PATH"

On Windows:

Expand Down

0 comments on commit 365b7d8

Please sign in to comment.