From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: heads-up: Haskell updates Date: Sat, 17 Feb 2018 14:04:31 +0100 Message-ID: <87po536a3k.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> <87sh9z6aqa.fsf@elephly.net> 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]:39082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en2AV-0001vW-JI for guix-devel@gnu.org; Sat, 17 Feb 2018 08:04:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en2AR-0001Qe-Jx for guix-devel@gnu.org; Sat, 17 Feb 2018 08:04:43 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21078) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1en2AR-0001QB-Cc for guix-devel@gnu.org; Sat, 17 Feb 2018 08:04:39 -0500 In-reply-to: <87sh9z6aqa.fsf@elephly.net> 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 Ricardo Wurmus writes: > Timothy Sample writes: > >> Ricardo Wurmus writes: >> >>> I think that=E2=80=99s a misunderstanding. The cause for the error is = earlier >>> when it complains that some packages depend on different versions of th= e >>> =E2=80=9Ctransformers=E2=80=9D package. =E2=80=9CStateT=E2=80=9D is a = monad 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-transform= ers-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. Ex= amples >>> are ghc-directory, ghc-binary, ghc-bytestring, etc. Since we still >>> have packages where these inputs are used, there can be conflicts dow= n >>> 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 r= emoved > it and am building ghc-mtl and ghc-resourcet now. I=E2=80=99ve built ghc-resourcet successfully with this change. I=E2=80=99= d be happy if those of you who reported build failures could please retry building ghc-resourcet with current master or core-updates (the fix to ghc-mtl is on both branches now). Thanks in advance! --=20 Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net