Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ❯ stack build
- Error: While constructing the build plan, the following exceptions were encountered:
- In the dependencies for mdr3-0.1.0.0:
- sockaddr needed, but the stack configuration has no specified version (latest matching version is 0.0.0)
- needed since mdr3 is a build target.
- Some different approaches to resolving this:
- * Recommended action: try adding the following to your extra-deps in /home/louis/dev/mdr3/stack.yaml:
- - sockaddr-0.0.0@sha256:abd855de908f0b846409335d60ffc69b279ff869f9575fb85934f4fe0d378867,787
- ======================================================================
- name: mdr3
- version: 0.1.0.0
- github: "githubuser/mdr3"
- license: BSD3
- author: "Author name here"
- maintainer: "example@example.com"
- copyright: "2020 Author name here"
- extra-source-files:
- - README.md
- - ChangeLog.md
- # Metadata used when publishing your package
- # synopsis: Short description of your package
- # category: Web
- # To avoid duplicated efforts in documentation and dealing with the
- # complications of embedding Haddock markup inside cabal files, it is
- # common to point users to the README.md file.
- description: Please see the README on GitHub at <https://github.com/githubuser/mdr3#readme>
- dependencies:
- - base >= 4.7 && < 5
- - bytestring
- - network
- - utf8-string
- - hspec
- - sockaddr
- library:
- source-dirs: src
- executables:
- mdr3-exe:
- main: Main.hs
- source-dirs: app
- ghc-options:
- - -threaded
- - -rtsopts
- - -with-rtsopts=-N
- dependencies:
- - mdr3
- tests:
- mdr3-test:
- main: Spec.hs
- source-dirs: test
- ghc-options:
- - -threaded
- - -rtsopts
- - -with-rtsopts=-N
- dependencies:
- - mdr3
Add Comment
Please, Sign In to add comment