From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: updating many haskell packages Date: Mon, 6 Feb 2017 09:03:34 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53708) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1caeGv-0000Tj-DV for guix-devel@gnu.org; Mon, 06 Feb 2017 03:03:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1caeGu-0008W2-85 for guix-devel@gnu.org; Mon, 06 Feb 2017 03:03:37 -0500 Received: from mail-vk0-x241.google.com ([2607:f8b0:400c:c05::241]:36608) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1caeGu-0008Vn-3k for guix-devel@gnu.org; Mon, 06 Feb 2017 03:03:36 -0500 Received: by mail-vk0-x241.google.com with SMTP id n19so6134786vkd.3 for ; Mon, 06 Feb 2017 00:03:35 -0800 (PST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: sankeytms@gmail.com Cc: Guix-devel Troy Sankey writes: > I have a WIP branch which contains many haskell package updates and > additions, and makes haskell-build-system use the latest ghc (8.0.2). > > https://github.com/pwnage101/guix/tree/add-gitit > > It started as a small project to create a Gitit package (hence the name > of the branch), but blew up into something larger. It's hard work, so I > just wanted to check in with you all to see if this seems like the right > direction. > > As of this writing, I have over 66 packages updated, 16 added, and > various fixes on existing packages to get everything buildable against > ghc@8.0.2. I'm debating whether I should systematically update all the > haskell packages while I'm at it, or just make sure everything is > buildable under 8.0.2. There are over 277 haskell packages in all. > > I wonder how I should send these patches after I'm all done. git > send-email? That seems crazy. I agree, it's a lot of work and guaranteeing package compatibility is not straightforward. To simplify things I would like to suggest to exploit the work done by Stackage (www.stackage.org) and follow the latest LTS release. I prepared a 'stackage' importer. It looks up the list of packages at https://www.stackage.org/lts (can select which LTS version), extract the version used there and downloads that version of the package from hackage (with the hackage importer). Two points are open: (i) I still need to finish the updater (to work with 'refresh'). (ii) The latest LTS still uses GHC 8.0.1. I'm not sure if this is because of some real problem (GHC 8.0.2 introduces some incompatibilities) or if it is because changing things takes time. I will probably be able to share the importer/updater in one week (don't have much time to work on it during the week). Regards, Fede