commercialhaskell / commercialhaskell/stack

Set $ACLOCAL_PATH in `stack exec` appropriately

Open
#3,501 3 comments 0 reactions 0 assignees View on GitHub
component: Windows help wanted type: bug
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

As I found out in [this Phabricator thread](https://phabricator.haskell.org/D3918#114922), `stack exec [--no-ghc-package-path] bash` doesn't set [`$ACLOCAL_PATH`](https://www.gnu.org/software/automake/manual/html_node/Macro-Search-Path.html). 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

1. `stack exec bash` on a Windows machine (AFAICT any stack config will do)
2. Realise that `ehco $ACLOCAL_PATH` is empty

```
$ stack --version
Version 1.5.1, Git revision 600c1f01435a10d127938709556c1682ecfd694e x86_64 hpack-0.17.1
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.