How to port a Haskell project that doesn't use cabal, and uses stack instead?

Gleb Popov arrowd at freebsd.org
Mon Feb 24 10:10:04 UTC 2020


On Mon, Feb 24, 2020 at 12:38 PM Yuri <yuri at rawbw.com> wrote:

> This project https://github.com/cpeikert/ALCHEMY only builds with 'stack
> build'.
>
> stack downloads bundled projects from GitHub and dependencies.
>
>
> What is a proper way to port such project?
>
>
This project has "package.yaml" file. It is a file for hpack program, which
can be turned into a proper .cabal file. Start with

USES=cabal:hpack

Other than that, you'll need to add USE_GITHUB=yes to make the distfile
fetch from GitHub.


> Thanks,
>
> Yuri
>
>
> _______________________________________________
> freebsd-haskell at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-haskell
> To unsubscribe, send any mail to "freebsd-haskell-unsubscribe at freebsd.org"
>


More information about the freebsd-haskell mailing list