Skip to content

Commit

Permalink
Rename "--compiler" to "--compiler-exe" #2123
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan committed May 12, 2016
1 parent e52b2c5 commit ff7a54e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ snapshots should still be treated as immutable.

Behavior changes:

* `stack path --compiler` was added in the last release, to yield a path to the
compiler. Unfortunately, `--compiler` is a global option that is useful to use
with `stack path`. The same functionality is now provided by `stack path
--compiler-exe`. See
[#2123](https://github.com/commercialhaskell/stack/issues/2123)

Other enhancements:

* Grab Cabal files via Git SHA to avoid regressions from Hackage revisions
Expand Down
2 changes: 1 addition & 1 deletion src/main/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ paths =
, "programs"
, T.pack . toFilePathNoTrailingSep . configLocalPrograms . bcConfig . piBuildConfig )
, ( "Compiler binary (e.g. ghc)"
, "compiler"
, "compiler-exe"
, T.pack . toFilePath . piCompiler )
, ( "Directory containing the compiler binary (e.g. ghc)"
, "compiler-bin"
Expand Down

0 comments on commit ff7a54e

Please sign in to comment.