Date: Mon, 24 Feb 2020 22:54:29 -0800 From: Yuri <yuri@rawbw.com> To: Gleb Popov <arrowd@freebsd.org> Cc: freebsd-haskell@freebsd.org Subject: Re: How to port a Haskell project that doesn't use cabal, and uses stack instead? Message-ID: <f3ff0560-544a-c83c-d1f1-41d96aedf165@rawbw.com> In-Reply-To: <CALH631nKzr%2Bxguu0Vm%2BZ3WuvXyCCWcmT3oob=ZDW0y7r8SWAXw@mail.gmail.com> References: <09e95df1-c606-9be8-2117-cbf93c52f71a@rawbw.com> <CALH631nKzr%2Bxguu0Vm%2BZ3WuvXyCCWcmT3oob=ZDW0y7r8SWAXw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-02-24 02:09, Gleb Popov wrote: > > 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. It fails: cabal: Internal error in target matching. It should always be possible to find a syntax that's sufficiently qualified to give an unambiguous match. However when matching 'exe:alchemy' we found exe:alchemy (unknown-component) which does not have an unambiguous syntax. The possible syntax and the targets they match are as follows: 'exe:alchemy' which matches exe:alchemy (unknown-component), :pkg:exe:lib:exe:file:alchemy (unknown-file) Yuri PORTNAME= alchemy PORTVERSION= g20200223 CATEGORIES= security haskell MAINTAINER= haskell@FreeBSD.org COMMENT= X LICENSE= BSD3CLAUSE USES= cabal:hpack USE_GITHUB= yes GH_ACCOUNT= cpeikert GH_PROJECT= ALCHEMY GH_TAGNAME= 76b9fd7 .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f3ff0560-544a-c83c-d1f1-41d96aedf165>