Starting over made the problem magically disappear. I created a new folder in my project, slowly copied parts into it, and it worked right away. I moved this new folder out into a peer folder and exactly duplicated the structure that was failing before, and it is working.
It must have been some cached build artifacts or something? I updated the lts resolver halfway through in my main project, maybe that threw it off. Thanks for all your help! On Wed, Oct 12, 2016 at 10:49 AM Sean Clark Hess <[email protected]> wrote: @Dan, That will support my workflow, thank you, I'll give it a shot @Bryan, Yes, it is listed. I think the "failed to load interface" error only happens because of the build/exit failure error. I don't really know what's going on with the build error. I looked at the log file and it didn't have any useful information in it. On Wed, Oct 12, 2016 at 10:44 AM Bryan Richter <[email protected]> wrote: On Wed, Oct 12, 2016 at 09:24:41AM -0700, Sean Hess wrote: > Pretty often while developing an application, I realize that some > piece of it would be better as an external library published to > Hackage. But I don't really know exactly what the interface will look > like. I need a way to iterate the package while I'm developing my > application, without needing to republish to hackage every time. > > How do you handle this workflow? Stack is designed for this workflow. It looks like you've done everything right (but note that including the stack.yaml in the library is only strictly necessary for building it independently). On SO you list the error as Failed to load interface for ‘Network.Worker’ Does your library list that package under 'exposed-modules' in its Cabal file? -- You received this message because you are subscribed to a topic in the Google Groups "haskell-stack" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/haskell-stack/JYt0G0HI5MI/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/20161012164441.GA9131%40fuzzbomb . For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/CAAPcQh%2BCR9Uk05tDB_KQ7gQrVp%3D8vWAjZ3air39E_jgRSUFnWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
