From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35435) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNSrX-0002AY-Gb for guix-patches@gnu.org; Tue, 20 Jun 2017 19:47:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNSrS-0006ML-88 for guix-patches@gnu.org; Tue, 20 Jun 2017 19:47:09 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55936) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNSrS-0006L8-3u for guix-patches@gnu.org; Tue, 20 Jun 2017 19:47:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dNSrO-0006KG-8W for guix-patches@gnu.org; Tue, 20 Jun 2017 19:47:02 -0400 Subject: [bug#26914] gnu: xmonad: Update to 0.13. Resent-Message-ID: References: <87a86gfmyh.fsf@gmail.com> <877f1kfmqa.fsf@gmail.com> <87d1bbv9pz.fsf@gnu.org> <87o9ua1ghq.fsf@gnu.org> <87inki2f2a.fsf@elephly.net> From: Mekeor Melire In-reply-to: <87inki2f2a.fsf@elephly.net> Date: Wed, 21 Jun 2017 01:46:36 +0200 Message-ID: <874lvaql2b.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ricardo Wurmus Cc: 26914@debbugs.gnu.org Ricardo Wurmus writes: > Ludovic Courtès writes: >>>> From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001 >>>> From: Mekeor Melire >>>> Date: Sat, 13 May 2017 23:36:36 +0200 >>>> Subject: [PATCH] gnu: xmonad: Update to 0.13. >>>> >>>> * gnu/packages/wm.scm (xmonad): Update to 0.13. >>>> [inputs]: Add ghc-directory. >>>> (ghc-xmonad-contrib): Update to 0.13. >>> >>> This fails to build like this: > […] >>> Setup.lhs: At least the following dependencies are missing: >>> directory >=1.2.3 >>> phase `configure' succeeded after 0.6 seconds >>> starting phase `patch-generated-file-shebangs' >>> phase `patch-generated-file-shebangs' succeeded after 0.0 seconds >>> starting phase `build' >>> running "runhaskell Setup.hs" with command "build" and parameters () >>> Setup.lhs: Run the 'configure' command first. I can't reproduce this failure and also the error message doesn't make sense to me because I added ghc-directory as dependecy to the package. > It now also fails with this: > > --8<---------------cut here---------------start------------->8--- […] > Setup.lhs: At least the following dependencies are missing: > X11 ==1.8.* […] > --8<---------------cut here---------------end--------------->8--- > […] > I believe this requires an upgrade to many of our Haskell packages. > We should try to catch up with the latest Haskell platform. This error was appearing because Ludo didn't actually apply the patch for ghc-x11. I tested both patches again now: they work. I tested them using both $ ./pre-inst-env guix build xmonad ghc-xmonad-contrib # and $ ./pre-inst-env guix package -i xmonad ghc-xmonad-contrib and both worked. Before building the package, I applied the patch for ghc-x11, then I applied the patch for xmonad and ghc-xmonad-contrib.