From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id CDiSGScan199fwAA0tVLHw (envelope-from ) for ; Sun, 01 Nov 2020 20:27:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wDptFScan18lKAAA1q6Kng (envelope-from ) for ; Sun, 01 Nov 2020 20:27:19 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 286859404C9 for ; Sun, 1 Nov 2020 20:27:18 +0000 (UTC) Received: from localhost ([::1]:45006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kZJwb-0008Om-Rl for larch@yhetil.org; Sun, 01 Nov 2020 15:27:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZJwS-0008Oc-J0 for guix-devel@gnu.org; Sun, 01 Nov 2020 15:27:08 -0500 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21142) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kZJwQ-0001KW-GN for guix-devel@gnu.org; Sun, 01 Nov 2020 15:27:08 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1604262422; cv=none; d=zohomail.com; s=zohoarc; b=AaNd+VhLaF8/VLdNZjes8tVQkny5suVnys3lvKf+BfT7YL/su9tZ+yvuoKtD0xAw8L/Ncsnnq9X2WGaTM2VAxxDC7ZjnB/xp4DV7E3xKyLhZEeG+79/FHlAeyDRBgfqM+QDqB2hqJzm9btuqe4gL1L5EcN3LMo1x1NKquk83LuU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604262422; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=sP8YSjhRBF3YhMXSAqSaayKveDL08pMXaRw4uv70f40=; b=O9URlUcIFZKw0iJhelMsq8LuNas8TwcxTaTPDRov1md+kR30It3t+FLEDpBM1gSNiiKwgjj777FZUTuoFtL8stZVW+ve/AdzmIFSLy/J6WEjUlJkVMca+T1OZF4W6WzxfKk0fqcQG4o2QILwVmjzNUy/vXEB8TJcJGAXm7YSzAQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1604262422; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=sP8YSjhRBF3YhMXSAqSaayKveDL08pMXaRw4uv70f40=; b=Fg5ZTpl7tKld6lFyanE46LJw6aYq7wwfU8Ugn8TxkYZmhuR1lQto0s/8cENiD/eJ Z3vF6gmB0kh0JGdsEStVbXwCDC6nOtHl+1iiTiBI4s53+x9f9zakcDsmsqECqGCZbrz Z77b+rR6aSe0G+bLqiWdq0rwxe8CzJovKxXM/jIs= Received: from localhost (p4fd5aedc.dip0.t-ipconnect.de [79.213.174.220]) by mx.zohomail.com with SMTPS id 1604262420192916.2571347026549; Sun, 1 Nov 2020 12:27:00 -0800 (PST) References: <20201023074653.8885-1-carloholl@gmail.com> <20201101020236.1108-1-carloholl@gmail.com> <87a6w1xkmi.fsf@cbaines.net> <87eeldym1l.fsf@elephly.net> <87k0v4rglh.fsf@cbaines.net> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus To: Christopher Baines Subject: Re: Haskell package versions (was bug#44174: [PATCH v2 00/15] Add hledger and its dependencies.) In-reply-to: <87k0v4rglh.fsf@cbaines.net> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 01 Nov 2020 21:28:52 +0100 Message-ID: <878sbkzurf.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/01 15:27:03 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=Fg5ZTpl7; arc=pass (zohomail.com:s=zohoarc:i=1); dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -2.21 X-TUID: vVSCt4HYrSlW Christopher Baines writes: > Ricardo Wurmus writes: > >> Christopher Baines writes: >> >>>> Carlo Holl (15): >>>> gnu: Add ghc-control-monad-free. >>>> gnu: Add ghc-csv. >>>> gnu: Add ghc-decimal. >>>> gnu: ghc-doctest: Update to 0.16.3. >>>> gnu: Add ghc-hspec-megaparsec. >>>> gnu: Add ghc-lucid. >>>> gnu: Add ghc-only. >>>> gnu: Add ghc-text-short. >>>> gnu: Add ghc-tabular. >>>> gnu: Add ghc-uglymemo. >>>> gnu: Add ghc-wizards. >>>> gnu: Add ghc-cassava. >>>> gnu: Add ghc-cassava-megaparsec. >>>> gnu: Add ghc-hledger-lib. >>>> gnu: Add hledger. >>>> >>>> gnu/packages/finance.scm | 63 ++++ >>>> gnu/packages/haskell-xyz.scm | 557 ++++++++++++++++++++++++++++++++++- >>>> 2 files changed, 608 insertions(+), 12 deletions(-) >>> >>> Awesome! I went through and tweaked some descriptions and wrapping and >>> pushed to master as e6bfb02eb79777b760031384d4a3c14239f7fb55. >> >> Unfortunately, some of these packages are the latest versions on >> Hackage, but we need to ensure that all Haskell packages are picked at >> versions corresponding to the currently supported version of LTSHaskell >> in Guix. We are behind the current LTSHaskell with our packages, so now >> we have the situation where we have packages that are *newer* than the >> latest LTSHaskell release and packages that are *older* than what the >> latest LTSHaskell release prescribes. >> >> We should fix this soon, because mixing Haskell packages from different >> LTS releases (or even ignoring the LTS releases in favour of the latest >> versions on Hackage) results in dependency hell for those users who want >> to use Guix for Haskell development. > > I'm not really aware of any Haskell specific packaging practices, and > while I can't guarantee I'd have read it, if there is a reason to not > use the latest version of Haskell packages, it would be good to have > that reason set out in the docs [1]. > > 1: https://guix.gnu.org/manual/en/html_node/Packaging-Guidelines.html#Pac= kaging-Guidelines The reason is past compatibility problems with inconsistent Haskell packages. GHC itself bundles some packages that serve as the baseline for all Haskell packages, and that=E2=80=99s what the LTSHaskell releases a= re based on. If we cannot upgrade all Haskell packages to their latest versions at all times then we cannot use arbitrary versions =E2=80=94 stick= ing to LTSHaskell is an easy way to ensure compatibility without having to manically upgrade Haskell packages all the time. The documentation should be updated to warn against upgrading to arbitrary versions. --=20 Ricardo