typelead / etlas

Etlas, the build tool and package manager for the Eta programming language
63 stars 10 forks source link

unknown package: transformers #17

Closed ChinaXing closed 5 years ago

ChinaXing commented 7 years ago
lambda-cat.local ➜  table-parser etlas build
Resolving dependencies...
Warning: solver failed to find a solution:
Could not resolve dependencies:
trying: table-parser-0.1.0.0 (user goal)
unknown package: transformers (dependency of table-parser-0.1.0.0)
fail (backjumping, conflict set: table-parser, transformers)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: table-parser, transformers
Trying configure anyway.
Configuring table-parser-0.1.0.0...
etlas: Encountered missing dependencies:
aeson -any,
either -any,
parsec >=3.1.11,
text -any,
transformers -any,
utf8-string -any

library
  exposed-modules:    TableParser
                    , Parser
  build-depends:      base >= 4.7 && < 5
                    , text
                    , aeson
                    , utf8-string
                    , either
                    , parsec >= 3.1.11
                    , transformers

  hs-source-dirs:     src
  default-language:    Haskell2010

executable table-parser
  main-is:             Main.hs
  build-depends:       base >= 4.7 && < 5
                     , table-parser
  hs-source-dirs:      src
  default-language:    Haskell2010
rahulmutt commented 7 years ago

Make sure you run etlas install --dependencies-only.

ChinaXing commented 7 years ago

why build not install dependecies, just like stack's convention

rahulmutt commented 7 years ago

Because unlike stack, we don't have curated package sets (yet). We may make install --dependencies-only a default if there's enough demand for it.

jneira commented 5 years ago

@ChinaXing The actual default etlas build (equivalent to cabal new-build) installs dependencies by default so i think we can close this one.