Stack build fails due to missing package although stack ghci works

前端 未结 1 1125
别那么骄傲
别那么骄傲 2020-12-11 11:55

I am trying to build a simple program in Haskell using stack. I created a new project using stack new and did a stack setup after that. The templat

相关标签:
1条回答
  • 2020-12-11 12:42

    This is likely because you added bytestring to the build-depends of the library, not the executable. One option to avoid needing to repeat these dependencies for the different stanzas is to use hpack as the package description format.

    0 讨论(0)
提交回复
热议问题