We are trying to list all dependencies from lts which we use to store them in our base haskell image. We're currently on lts-7.3, and it has aeson-compat in it, yet we somehow get it installed not in ~/.stack ("snapshot-install-root"), but inside of the .stack-work local to the project:
➜ stack exec ghc-pkg list aeson-compat
/Users/kb/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/package.conf.d
(no packages)
/Users/kb/.stack/snapshots/x86_64-osx/lts-7.3/8.0.1/pkgdb
(no packages)
/Users/kb/workspace/proj/.stack-work/install/x86_64-osx/lts-7.3/8.0.1/pkgdb
aeson-compat-0.3.6
Can somebody please explain why it's not in ~/.stack but is in .stack-work?
Thank you!