Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2020 14:09:33 +0400
From:      Gleb Popov <arrowd@freebsd.org>
To:        Yuri <yuri@rawbw.com>
Cc:        freebsd-haskell@freebsd.org
Subject:   Re: How to port a Haskell project that doesn't use cabal, and uses stack instead?
Message-ID:  <CALH631nKzr%2Bxguu0Vm%2BZ3WuvXyCCWcmT3oob=ZDW0y7r8SWAXw@mail.gmail.com>
In-Reply-To: <09e95df1-c606-9be8-2117-cbf93c52f71a@rawbw.com>
References:  <09e95df1-c606-9be8-2117-cbf93c52f71a@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 24, 2020 at 12:38 PM Yuri <yuri@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-haskell
> To unsubscribe, send any mail to "freebsd-haskell-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631nKzr%2Bxguu0Vm%2BZ3WuvXyCCWcmT3oob=ZDW0y7r8SWAXw>