commercialhaskell/stack

Set $ACLOCAL_PATH in `stack exec` appropriately

開放

#3,501 建立於 2017年10月20日

 (3 則留言) (0 個反應) (0 位負責人)Haskell (848 個分叉)batch import
component: Windowshelp wantedtype: bug

倉庫指標

星標
 (4,060 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南