purescript icon indicating copy to clipboard operation
purescript copied to clipboard

Including extra dependencies

Open tomasurbanec opened this issue 2 years ago • 3 comments

Hello,

is it possible to include extra dependencies while uploading solutions through CLI client?

In this case I did the Acronym exercise locally using strings-extra (and it works just fine), but I have not found a way to include the extra dependency also during compilation in the exercism system.

I have tried uploading the spago.dhall and even the sources of releveant package from .spago but no success so far. (I remember that in the Haskell track it was possible to get the extra dependencies by uploading a cabal file together with the sources.)

To give some more information, the compilation ends with this error message:

purs compile: No files found using pattern: .spago/strings-extra/v3.0.1/src/**/*.purs Error found: in module Acronym Module Data.String.Extra was not found. Make sure the source file exists, and that it has been provided as an input to the compiler. See https://github.com/purescript/documentation/blob/master/errors/ModuleNotFound.md for more information, or to contribute content related to this error. [error] Failed to build.

So, the question is: is there a way to include the extra dependencies? And if not, is there anything I can do to help with this issue?

Thanks, Tom

tomasurbanec avatar Aug 24 '22 13:08 tomasurbanec