From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: heads-up: Haskell updates Date: Sat, 17 Feb 2018 13:50:53 +0100 Message-ID: <87sh9z6aqa.fsf@elephly.net> References: <87r2ppjbst.fsf@elephly.net> <873723pfya.fsf@netris.org> <871shn8jm5.fsf@elephly.net> <87zi4b744f.fsf@elephly.net> <20180214234721.4e9fe198@scratchpost.org> <87a7waodaa.fsf@netris.org> <87o9kq7gt9.fsf@elephly.net> <877eretkos.fsf@ngyro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en1xg-0004d3-Rn for guix-devel@gnu.org; Sat, 17 Feb 2018 07:51:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en1xb-0003mq-UP for guix-devel@gnu.org; Sat, 17 Feb 2018 07:51:28 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1en1xb-0003mX-M9 for guix-devel@gnu.org; Sat, 17 Feb 2018 07:51:23 -0500 In-reply-to: <877eretkos.fsf@ngyro.com> 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: Timothy Sample Cc: guix-devel Timothy Sample writes: > Ricardo Wurmus writes: > >> I think that=E2=80=99s a misunderstanding. The cause for the error is e= arlier >> when it complains that some packages depend on different versions of the >> =E2=80=9Ctransformers=E2=80=9D package. =E2=80=9CStateT=E2=80=9D is a m= onad transformer. > > For what it=E2=80=99s worth, I fixed this error on my machine by adding > =E2=80=9Cghc-transformers=E2=80=9D as an input to =E2=80=9Cghc-transforme= rs-compat=E2=80=9D. (This also > fixed =E2=80=9Cghc-adjunctions=E2=80=9D.) This suggests to me that what = you wrote > earlier accounts for the problem: > >> * many problems are caused by the fact that GHC includes a bunch of >> packages that really shouldn=E2=80=99t be overridden by packages. Exa= mples >> are ghc-directory, ghc-binary, ghc-bytestring, etc. Since we still >> have packages where these inputs are used, there can be conflicts down >> the line, which are hard to fix. The solution might be to remove ghc-transformers from all packages that currently have it as an input rather than add it wherever the transformers is required. This seems to be only ghc-mtl. I=E2=80=99ve rem= oved it and am building ghc-mtl and ghc-resourcet now. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net