Closed mageshb closed 8 years ago
when building custom setup file it doesnt get passed the same package-dbs available to a regular pkg build, but this can be overwritten by adding this section to your stack.yaml
explicit-setup-deps:
executable-hash: true
Yup, @luigy's solution should do it. This is an unfortunate result of:
Re-open if still an issue.
It is working fine after I added the suggested change. Thank you
We got an the error while building executable-hash pkg with ghc resolver. We tested this in stack 0.1.10.1 and 1.0.0. In our setup, all the package mentioned in the extra-deps are taken from lts-3.5. We are able build the same package when the resolver is set to lts-3.5. Also when buildtype is set to Simple, we were able to build with ghc resolver
Following stack.yaml can be added to unpacked executable-hash package to reproduce the following error System/Executable/Hash/Internal.hs:9:18: Could not find module ‘Crypto.Hash.SHA1’ Use -v to see a list of the files searched for.
System/Executable/Hash/Internal.hs:11:18: Could not find module ‘Data.FileEmbed’ Use -v to see a list of the files searched for.
stack.yaml