From owner-freebsd-haskell@freebsd.org Mon Feb 24 10:10:04 2020 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2DD5C257C30 for ; Mon, 24 Feb 2020 10:10:04 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48QyVJ69W0z42Rq for ; Mon, 24 Feb 2020 10:10:00 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-lj1-f177.google.com with SMTP id w1so9407203ljh.5 for ; Mon, 24 Feb 2020 02:10:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2JwtROLjNyTMMGWClc3n3UiXLJFEIZ899jM/gYbIF9c=; b=PYIXrYy2oZfcizl/regdAYzDB/rCmEenykJBXuGhTgbG6+ZZN4XoD6cwAtrmqkhb+1 YurDQtRkZsnovzjKADLMsU34GcsVBWhPTgLKYcdRAInaIPRR6TlHWtXIwzX3nYrPokNn IyttIgv2MHjOSufBmz9/m8DYC4vHsoe9qatopzJzYj+ZC73zV/fluqJgl8XYpzdlpHeG 1U8xiVrdLIf249ammNQ1dOSW1oIdBuLTNIcrUwC3CbBlpiwhcEGOmvmjOS5Qwfslyu/L j3yGBUuEHzCegXWEGY7RcsSSodSKIBW5V82HKGDM5/urQjKyl6PiKQ73OJBtgmnzuASg bklw== X-Gm-Message-State: APjAAAWwfDHTs/4G/UBou++OdNhn0MrsClM8qk0O5rfkw+WcAFIEU5XV gXkhJcTyG7AAMOhCqPXbDsvezb9WEfbzpg== X-Google-Smtp-Source: APXvYqzEExUUpt2EVYKzAB4S/2KBMdOJfNcv5Kwh1FpWLREnST9QNUBMARBBsvcSvi3jjkyjs9OqLg== X-Received: by 2002:a2e:9008:: with SMTP id h8mr29686333ljg.217.1582538997983; Mon, 24 Feb 2020 02:09:57 -0800 (PST) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id i1sm5897011lji.71.2020.02.24.02.09.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Feb 2020 02:09:57 -0800 (PST) Received: by mail-lj1-f177.google.com with SMTP id q23so9417341ljm.4 for ; Mon, 24 Feb 2020 02:09:57 -0800 (PST) X-Received: by 2002:a05:651c:102c:: with SMTP id w12mr30157013ljm.53.1582538997691; Mon, 24 Feb 2020 02:09:57 -0800 (PST) MIME-Version: 1.0 References: <09e95df1-c606-9be8-2117-cbf93c52f71a@rawbw.com> In-Reply-To: <09e95df1-c606-9be8-2117-cbf93c52f71a@rawbw.com> From: Gleb Popov Date: Mon, 24 Feb 2020 14:09:33 +0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: How to port a Haskell project that doesn't use cabal, and uses stack instead? To: Yuri Cc: freebsd-haskell@freebsd.org X-Rspamd-Queue-Id: 48QyVJ69W0z42Rq X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.208.177 as permitted sender) smtp.mailfrom=6yearold@gmail.com X-Spamd-Result: default: False [-2.02 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; IP_SCORE(-1.02)[ip: (-0.40), ipnet: 209.85.128.0/17(-2.99), asn: 15169(-1.67), country: US(-0.05)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-haskell@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[177.208.85.209.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[177.208.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2020 10:10:04 -0000 On Mon, Feb 24, 2020 at 12:38 PM Yuri 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" >