After upgrading to the latest commit (from v0.14) I receive numerous errors of the following form:
Use --sandbox_debug to see verbose messages from the sandbox
Control/Concurrent/Async.hs:217:1: error:
Could not find module ‘Data.Hashable’
There are files missing in the ‘hashable-1.4.0.2’ package,
try running 'ghc-pkg check'.
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
217 | import Data.Hashable (Hashable(hashWithSalt))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Numerous other libraries like divisible and contravariant all fail with the same error(s). The stack_snapshot's stackage/BUILD.bazel entries look fine, as do the source directories themselves (ie. containing the correct files/structure.)
Is this an error someone else has run into previously? Manually writing a BUILD file and vendoring in the stack_snapshot etc. works, even with the exact content above.
Closing, since after +1 year this is hard to reproduce and it seems nobody bumped into this in the meantime. Please re-open if you still hit this with v0.17 or HEAD of the default branch.
After upgrading to the latest commit (from v0.14) I receive numerous errors of the following form:
Numerous other libraries like
divisible
andcontravariant
all fail with the same error(s). The stack_snapshot'sstackage/BUILD.bazel
entries look fine, as do the source directories themselves (ie. containing the correct files/structure.)Is this an error someone else has run into previously? Manually writing a BUILD file and vendoring in the stack_snapshot etc. works, even with the exact content above.