commercialhaskell/stack
View on GitHubSet $ACLOCAL_PATH in `stack exec` appropriately
Open
#3,501 opened on Oct 20, 2017
component: Windowshelp wantedtype: bug
Repository metrics
- Stars
- (4,060 stars)
- PR merge metrics
- (Avg merge 17d 10h) (6 merged PRs in 30d)
Description
As I found out in this Phabricator thread, stack exec [--no-ghc-package-path] bash doesn't set $ACLOCAL_PATH. I'm not sure why this is. When starting a regular mingw64 session or Git Bash (even stack exec mintty and choosing mingw64), the paths are set correctly.
Steps to reproduce
stack exec bashon a Windows machine (AFAICT any stack config will do)- Realise that
ehco $ACLOCAL_PATHis empty
$ stack --version
Version 1.5.1, Git revision 600c1f01435a10d127938709556c1682ecfd694e x86_64 hpack-0.17.1