Re: Behavior of GHC_PACKAGE_PATH

2016-08-19 Thread Harendra Kumar
Thanks Albert! That clarifies the behavior. We had discussion on this in https://github.com/commercialhaskell/stack/issues/1957 as well where ezyang provided clarifications on the behavior. We need to update the documentation to make it more precise and accurate. I will file a ticket for that. -ha

Re: Behavior of GHC_PACKAGE_PATH

2016-08-19 Thread Albert Y. C. Lai
On 2016-08-16 07:08 AM, Harendra Kumar wrote: As per the GHC manual (https://downloads.haskell.org/~ghc/master/users-guide/packages.html#the-ghc-package-path-environment-variable ), pack

Behavior of GHC_PACKAGE_PATH

2016-08-16 Thread Harendra Kumar
Hi, As per the GHC manual (https://downloads.haskell. org/~ghc/master/users-guide/packages.html#the-ghc-package- path-environment-variable), packages which come earlier in the GHC_PACKAGE_PATH supersede the ones which come later. But that does not seem to be the case always. I am dealing with a c