Why isn't stack-compat from lts-7.3 installed in ~/.stack ?

11 views
Skip to first unread message

Kostiantyn Rybnikov

unread,
Dec 19, 2016, 1:36:39 PM12/19/16
to haskell-stack
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!

Kostiantyn Rybnikov

unread,
Dec 19, 2016, 1:43:45 PM12/19/16
to haskell-stack
Actually, found this in the "Architecture" docs:

  • Local: extra-deps, local packages, and snapshot packages which depend on them (more on that in shadowing)
Probably that package is a dep of our local pkg.

Sorry for disturbing! Went checking if it's true :)
Reply all
Reply to author
Forward
0 new messages