[Haskell-cafe] stack problems
dennis.raddle at gmail.com
Sun May 28 07:43:37 UTC 2017
That solved it, thank you.
On Sat, May 27, 2017 at 11:48 PM, David Turner <
dct25-561bs at mythic-beasts.com> wrote:
> It looks like you've added `text` to the list of dependencies for the
> executable, rather than the library. Try adding it to the `build-depends`
> field of the library block in the cabal file instead.
> On 28 May 2017 07:41, "Dennis Raddle" <dennis.raddle at gmail.com> wrote:
>> Trying to learn stack. I'm following the tutorial on this page:
>> I built helloworld. Then I modified Lib.hs to include Data.Text.IO, as
>> the tutorial specifies. I typed 'stack build' and got the error that the
>> text package wasn't installed, as the tutorial says I would. I then
>> modified helloworld.cabal to have these lines:
>> build-depends: base
>> , helloworld
>> , text
>> and typed 'stack build' again. I got the exact same output - an error on
>> building Lib.hs, 'Failed to load interface for Data.Text.IO. I checked
>> that I really modified al lthe right files and can't find anything I did
>> Haskell-Cafe mailing list
>> To (un)subscribe, modify options or view archives go to:
>> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe