Skip to content

Failed to add dependencies. The dependencies field wasn't a List of Strings. #813

@wclr

Description

@wclr

I get the following warning when doing spago install some-package

Failed to add dependencies. The dependencies field wasn't a List of Strings.

Spago installs (downloads) the package but, but it doesn't modify the list of packages.

The spago.dhall is:

let package1 = ./packages/package1/spago.dhall

in  { name = "monorepo"
    , dependencies =
          [ "aff"
          , "affjax"
          ]
        # package1.dependencies
    , packages = ./packages.dhall
    , sources =
      [ "packages/**/src/**/*.purs"
      ]
    }

Though I can add the package to the list manually, and it will work, I wonder why spago doesn't support this kind of dependencies config while installation, it is a legal dhall.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions