From: Troy Sankey <sankeytms@gmail.com>
To: Federico Beffa <beffa@ieee.org>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: updating many haskell packages
Date: Mon, 06 Feb 2017 10:23:12 -0500 [thread overview]
Message-ID: <148639459210.5455.4004512896538726304@what> (raw)
In-Reply-To: <CAKrPhPNLBoj4BnNJ=6_Ru+W22FozjFzvTK5V0rL3BcmHS0UF1g@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3371 bytes --]
Quoting Federico Beffa (2017-02-06 03:03:34)
> Troy Sankey <sankeytms@gmail.com> 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.
Hm, I should have been following a stackage LTS. Maybe I wouldn't need
to relax any dependency versions. I also wonder if I could have avoided
some discrepancies between hackage and released .cabal files regarding
dependency versions (there are quite a few [0]).
> 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').
TIL guix refresh. TIL stackage LTS. I am slow to learn...
> (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
Awesome :)
Troy
[0]
https://github.com/pwnage101/guix/blob/00cc2021d9f3019c8dc69383ff2038eb54d1ba5a/gnu/packages/haskell.scm#L1375
https://github.com/pwnage101/guix/blob/00cc2021d9f3019c8dc69383ff2038eb54d1ba5a/gnu/packages/haskell.scm#L1404
https://github.com/pwnage101/guix/blob/00cc2021d9f3019c8dc69383ff2038eb54d1ba5a/gnu/packages/haskell.scm#L1537
https://github.com/pwnage101/guix/blob/00cc2021d9f3019c8dc69383ff2038eb54d1ba5a/gnu/packages/haskell.scm#L1594
https://github.com/pwnage101/guix/blob/00cc2021d9f3019c8dc69383ff2038eb54d1ba5a/gnu/packages/haskell.scm#L1944
https://github.com/pwnage101/guix/blob/00cc2021d9f3019c8dc69383ff2038eb54d1ba5a/gnu/packages/haskell.scm#L1987
https://github.com/pwnage101/guix/blob/00cc2021d9f3019c8dc69383ff2038eb54d1ba5a/gnu/packages/haskell.scm#L2018
https://github.com/pwnage101/guix/blob/00cc2021d9f3019c8dc69383ff2038eb54d1ba5a/gnu/packages/haskell.scm#L5902
https://github.com/pwnage101/guix/blob/00cc2021d9f3019c8dc69383ff2038eb54d1ba5a/gnu/packages/haskell.scm#L8793
[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEE0zLJ6STd4Cp+CgbIgs677ofYV8IFAliYlNsACgkQgs677ofY
V8IwOhAAn2oBufPtZrrtE3e07nTsqNvDstbhiaeqwhaVdZxyfo9tylyBu3FFX5zR
xC7qKXZzm8XPaRXpx5F6QXjmaNZTTsDRmGeNpn0ieY0LQEOWOXPuBxzdFVGsWSO4
4h1Wmm/jjlVf5WS/qCvS3BGUzlPaZswU/p0xiOn+xMWfFzuIcepd6bI/SZI3tiat
cR1l+maKrdb0TFwzkmw8Rl+K3pEETJ53O7QIboII+uCN/VCczra6It8yCeynbSBK
FpuF4cPsxjonjajZdnjDyElwGxo1vTghGDghA6DDe25UBSIouMhBzc/WOLHrzFYj
U1ALCahsQMj5LmUBJ+8T/5q1nYDXjCxWGT+sWP/wIvWoFMKI0KMNtZ8Q/8EOZaVh
8Aw9JP7XDh9WAESICxY67NVh0RwiuINqLQh3QblJbGQ6/95ylDtpTnBtxSieosKo
ErXqEx7f/OgpLWbU9HWgplagLEuQLpyBGfXF+w6ol4ZINCCH46OM/I4Ujnl7hK0f
3R/7qC3AIl1ROn+DcQJSrkIgOmFnWDoaxDQsmamb/6WnOwL8jC2chfpkjM0fl8Zj
gnh2R3GoqCy3M6JZknW6pr4HSWtLR4znNLdB3ETwm4HC4aFze/QYFyb8dSFIwnd5
uKjw64kq2gj9OTMMrOnk62z6P929RL3MSrN/gk9WBIZ3rKPVMHc=
=Yf8B
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2017-02-06 15:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-06 8:03 updating many haskell packages Federico Beffa
2017-02-06 8:13 ` Federico Beffa
2017-02-15 19:07 ` Troy Sankey
2017-02-17 16:43 ` Ricardo Wurmus
2017-02-06 15:23 ` Troy Sankey [this message]
2017-02-06 20:34 ` Federico Beffa
2017-02-06 21:00 ` Troy Sankey
2017-02-15 19:31 ` Troy Sankey
2017-02-17 8:00 ` Federico Beffa
2017-02-17 17:47 ` Troy Sankey
2017-02-18 9:43 ` Federico Beffa
2017-02-18 17:40 ` Troy Sankey
2017-02-18 20:23 ` Federico Beffa
2017-02-19 19:21 ` Troy Sankey
-- strict thread matches above, loose matches on Subject: below --
2017-02-06 5:23 Troy Sankey
2017-02-06 15:47 ` Leo Famulari
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=148639459210.5455.4004512896538726304@what \
--to=sankeytms@gmail.com \
--cc=beffa@ieee.org \
--cc=guix-devel@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).