Guest User

Untitled

a guest
Oct 17th, 2020
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1. ❯ stack build
  2.  
  3. Error: While constructing the build plan, the following exceptions were encountered:
  4.  
  5. In the dependencies for mdr3-0.1.0.0:
  6. sockaddr needed, but the stack configuration has no specified version (latest matching version is 0.0.0)
  7. needed since mdr3 is a build target.
  8.  
  9. Some different approaches to resolving this:
  10.  
  11. * Recommended action: try adding the following to your extra-deps in /home/louis/dev/mdr3/stack.yaml:
  12.  
  13. - sockaddr-0.0.0@sha256:abd855de908f0b846409335d60ffc69b279ff869f9575fb85934f4fe0d378867,787
  14.  
  15. ======================================================================
  16.  
  17. name: mdr3
  18. version: 0.1.0.0
  19. github: "githubuser/mdr3"
  20. license: BSD3
  21. author: "Author name here"
  22. maintainer: "example@example.com"
  23. copyright: "2020 Author name here"
  24.  
  25. extra-source-files:
  26. - README.md
  27. - ChangeLog.md
  28.  
  29. # Metadata used when publishing your package
  30. # synopsis: Short description of your package
  31. # category: Web
  32.  
  33. # To avoid duplicated efforts in documentation and dealing with the
  34. # complications of embedding Haddock markup inside cabal files, it is
  35. # common to point users to the README.md file.
  36. description: Please see the README on GitHub at <https://github.com/githubuser/mdr3#readme>
  37.  
  38. dependencies:
  39. - base >= 4.7 && < 5
  40. - bytestring
  41. - network
  42. - utf8-string
  43. - hspec
  44. - sockaddr
  45.  
  46. library:
  47. source-dirs: src
  48.  
  49. executables:
  50. mdr3-exe:
  51. main: Main.hs
  52. source-dirs: app
  53. ghc-options:
  54. - -threaded
  55. - -rtsopts
  56. - -with-rtsopts=-N
  57. dependencies:
  58. - mdr3
  59.  
  60. tests:
  61. mdr3-test:
  62. main: Spec.hs
  63. source-dirs: test
  64. ghc-options:
  65. - -threaded
  66. - -rtsopts
  67. - -with-rtsopts=-N
  68. dependencies:
  69. - mdr3
  70.  
Add Comment
Please, Sign In to add comment