From: Ricardo Wurmus <rekado@elephly.net>
To: Christopher Baines <mail@cbaines.net>
Cc: guix-devel@gnu.org
Subject: Re: Haskell package versions (was bug#44174: [PATCH v2 00/15] Add hledger and its dependencies.)
Date: Sun, 01 Nov 2020 21:28:52 +0100 [thread overview]
Message-ID: <878sbkzurf.fsf@elephly.net> (raw)
In-Reply-To: <87k0v4rglh.fsf@cbaines.net>
Christopher Baines <mail@cbaines.net> writes:
> Ricardo Wurmus <rekado@elephly.net> writes:
>
>> Christopher Baines <mail@cbaines.net> 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#Packaging-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’s what the LTSHaskell releases are
based on. If we cannot upgrade all Haskell packages to their latest
versions at all times then we cannot use arbitrary versions — sticking
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.
--
Ricardo
next prev parent reply other threads:[~2020-11-01 20:27 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-23 7:46 [bug#44174] [PATCH 00/16] Add hledger and its dependencies Carlo Holl
2020-10-23 17:05 ` [bug#44174] [PATCH 01/16] gnu: Add ghc-control-monad-free Carlo Holl
2020-10-23 17:05 ` [bug#44174] [PATCH 02/16] gnu: Add ghc-csv Carlo Holl
2020-10-24 21:27 ` Christopher Baines
2020-10-23 17:05 ` [bug#44174] [PATCH 03/16] gnu: Add ghc-decimal Carlo Holl
2020-10-23 17:05 ` [bug#44174] [PATCH 04/16] gnu: Upgrade ghc-doctest Carlo Holl
2020-10-24 21:29 ` Christopher Baines
2020-10-23 17:05 ` [bug#44174] [PATCH 05/16] gnu: Add ghc-hspec-megaparsec Carlo Holl
2020-10-24 21:30 ` Christopher Baines
2020-10-23 17:05 ` [bug#44174] [PATCH 06/16] gnu: Add ghc-lucid Carlo Holl
2020-10-23 17:05 ` [bug#44174] [PATCH 07/16] gnu: Add ghc-only Carlo Holl
2020-10-23 17:05 ` [bug#44174] [PATCH 08/16] gnu: Add ghc-text-short Carlo Holl
2020-10-23 17:05 ` [bug#44174] [PATCH 09/16] gnu: Add ghc-tabular Carlo Holl
2020-10-24 21:38 ` Christopher Baines
2020-10-23 17:05 ` [bug#44174] [PATCH 10/16] gnu: Add ghc-uglymemo Carlo Holl
2020-10-23 17:05 ` [bug#44174] [PATCH 11/16] gnu: Add ghc-wizards Carlo Holl
2020-10-23 17:05 ` [bug#44174] [PATCH 12/16] gnu: Add ghc-cassava Carlo Holl
2020-10-23 17:05 ` [bug#44174] [PATCH 13/16] gnu: Add ghc-cassava-megaparsec Carlo Holl
2020-10-24 21:39 ` Christopher Baines
2020-10-23 17:05 ` [bug#44174] [PATCH 14/16] gnu: Add ghc-hledger-lib Carlo Holl
2020-10-23 17:05 ` [bug#44174] [PATCH 15/16] gnu: Add hledger Carlo Holl
2020-10-23 17:05 ` [bug#44174] [PATCH 16/16] Add attribution Carlo Holl
2020-10-24 21:40 ` Christopher Baines
2020-10-24 21:26 ` [bug#44174] [PATCH 00/16] Add hledger and its dependencies Christopher Baines
2020-11-01 2:11 ` Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 00/15] " Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 01/15] gnu: Add ghc-control-monad-free Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 02/15] gnu: Add ghc-csv Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 03/15] gnu: Add ghc-decimal Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 04/15] gnu: ghc-doctest: Update to 0.16.3 Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 05/15] gnu: Add ghc-hspec-megaparsec Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 06/15] gnu: Add ghc-lucid Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 07/15] gnu: Add ghc-only Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 08/15] gnu: Add ghc-text-short Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 09/15] gnu: Add ghc-tabular Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 10/15] gnu: Add ghc-uglymemo Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 11/15] gnu: Add ghc-wizards Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 12/15] gnu: Add ghc-cassava Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 13/15] gnu: Add ghc-cassava-megaparsec Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 14/15] gnu: Add ghc-hledger-lib Carlo Holl
2020-11-01 2:02 ` [bug#44174] [PATCH v2 15/15] gnu: Add hledger Carlo Holl
2020-11-01 13:38 ` bug#44174: [PATCH v2 00/15] Add hledger and its dependencies Christopher Baines
2020-11-01 18:22 ` [bug#44174] " Ricardo Wurmus
2020-11-01 20:02 ` Haskell package versions (was bug#44174: [PATCH v2 00/15] Add hledger and its dependencies.) Christopher Baines
2020-11-01 20:28 ` Ricardo Wurmus [this message]
2020-11-02 11:23 ` zimoun
2020-11-01 21:09 ` [bug#44174] [PATCH v2 00/15] Add hledger and its dependencies Carlo Holl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878sbkzurf.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=guix-devel@gnu.org \
--cc=mail@cbaines.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.