Closed swamp-agr closed 5 years ago
stack
Fay
fay
ghc
ghc-pkg
HASKELL_SANDBOX_CONFIG
GHC_PACKAGE_PATH
ghc-paths
stack exec -- ghc # for ghc
stack exec -- ghc-pkg # for ghc-pkg
Problem statement
stack
used in project.Fay
programmatically.fay
package in dependency list.stack
used its ownghc
andghc-pkg
.stack
rewritesHASKELL_SANDBOX_CONFIG
,GHC_PACKAGE_PATH
environment variables.fay
cannot find new package.Impact analysis
Solution Proposal
ghc
andghc-pkg
fromghc-paths
:stack exec -- ghc # for ghc
stack exec -- ghc-pkg # for ghc-pkg