commercialhaskell/stack

Set $ACLOCAL_PATH in `stack exec` appropriately

Aberta

#3.501 aberto em 20 de out. de 2017

 (3 comentários) (0 reação) (0 responsável)Haskell (848 forks)batch import
component: Windowshelp wantedtype: bug

Métricas do repositório

Stars
 (4.060 estrelas)
Métricas de merge de PR
 (Mesclagem média 17d 10h) (6 fundiu PRs em 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

  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

Guia do colaborador