gnu: xmonad: Update to 0.13.

  • Done
  • quality assurance status badge
Details
3 participants
  • Ludovic Courtès
  • Mekeor Melire
  • Ricardo Wurmus
Owner
unassigned
Submitted by
Mekeor Melire
Severity
normal
M
M
Mekeor Melire wrote on 13 May 2017 23:47
(address . guix-patches@gnu.org)
87a86gfmyh.fsf@gmail.com
I'm submitting two patches.

The first patch will update the `ghc-x11` to version 0.18. The second
patch will update `xmonad` and `ghc-xmonad-contrib` to 0.13.

I'm sorry that the commit messages are not exactly correct.

--
mekeor ~ EDD3 DFFA 76F6 11C0 145F 9A99 AC85 BAD8 A2F8 C868
M
M
Mekeor Melire wrote on 13 May 2017 23:52
gnu: ghc-x11: Update to 1.8.
(address . 26914@debbugs.gnu.org)
878tm0fmr8.fsf@gmail.com
From 3a02781178d777e3251c5e74a1426419fd218d93 Mon Sep 17 00:00:00 2001
From: Mekeor Melire <mekeor.melire@gmail.com>
Date: Sat, 13 May 2017 23:34:39 +0200
Subject: [PATCH] gnu: ghc-x11: Update to 1.8.

---
gnu/packages/haskell.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (23 lines)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 0bafdf6f6..59c68609d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1633,14 +1633,14 @@ environment variables.")
(define-public ghc-x11
(package
(name "ghc-x11")
- (version "1.6.1.2")
+ (version "1.8")
(source
(origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/X11/"
"X11-" version ".tar.gz"))
(sha256
- (base32 "1kzjcynm3rr83ihqx2y2d852jc49da4p18gv6jzm7g87z22x85jj"))))
+ (base32 "13lxq36856fzp61y4api78vssykyh8fm2aplr0nsj18ymdm1c6sl"))))
(build-system haskell-build-system)
(inputs
`(("libx11" ,libx11)
--
2.12.2
M
M
Mekeor Melire wrote on 13 May 2017 23:52
gnu: xmonad: Update to 0.13.
(address . 26914@debbugs.gnu.org)
877f1kfmqa.fsf@gmail.com
From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001
From: Mekeor Melire <mekeor.melire@gmail.com>
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.
---
gnu/packages/wm.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

Toggle diff (50 lines)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 3cf74c4ca..84f650e6f 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -334,7 +334,7 @@ prompt.")
(define-public xmonad
(package
(name "xmonad")
- (version "0.12")
+ (version "0.13")
(synopsis "Tiling window manager")
(source (origin
(method url-fetch)
@@ -342,7 +342,7 @@ prompt.")
name "-" version ".tar.gz"))
(sha256
(base32
- "1mzx3p17ppgmi30q3phaj58x6kxn73pbbkn9v9gzgmd8skdlkxp8"))))
+ "1jh3lcs20qpna36fa5a0r174xqrsxhj10x1rm5vwf64zariipy7r"))))
(build-system haskell-build-system)
(inputs
`(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
@@ -350,6 +350,7 @@ prompt.")
("ghc-quickcheck" ,ghc-quickcheck)
("ghc-setlocale" ,ghc-setlocale)
("ghc-utf8-string" ,ghc-utf8-string)
+ ("ghc-directory" ,ghc-directory)
("ghc-x11" ,ghc-x11)))
(arguments
`(#:phases
@@ -383,7 +384,7 @@ tiled on several screens.")
(define-public ghc-xmonad-contrib
(package
(name "ghc-xmonad-contrib")
- (version "0.12")
+ (version "0.13")
(source
(origin
(method url-fetch)
@@ -391,7 +392,7 @@ tiled on several screens.")
"xmonad-contrib-" version ".tar.gz"))
(sha256
(base32
- "04gk449dxwmimmb6y2d2hvvmv91r91xlj879qzlyq0mcf723278k"))))
+ "0vj72jhfng6y7hv5frx2v99jvl3jn9rbpk2j7xw9vydiwmzq4q57"))))
(build-system haskell-build-system)
(propagated-inputs
`(("ghc-mtl" ,ghc-mtl)
--
2.12.2
L
L
Ludovic Courtès wrote on 14 May 2017 15:38
Re: bug#26914: gnu: ghc-x11: Update to 1.8.
(name . Mekeor Melire)(address . mekeor.melire@gmail.com)(address . 26914@debbugs.gnu.org)
87h90nv9qt.fsf@gnu.org
Mekeor Melire <mekeor.melire@gmail.com> skribis:

Toggle quote (9 lines)
> From 3a02781178d777e3251c5e74a1426419fd218d93 Mon Sep 17 00:00:00 2001
> From: Mekeor Melire <mekeor.melire@gmail.com>
> Date: Sat, 13 May 2017 23:34:39 +0200
> Subject: [PATCH] gnu: ghc-x11: Update to 1.8.
>
> ---
> gnu/packages/haskell.scm | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

Applied with adjusted commit log, thanks!

Ludo’.
L
L
Ludovic Courtès wrote on 14 May 2017 15:39
Re: bug#26914: gnu: xmonad: Update to 0.13.
(name . Mekeor Melire)(address . mekeor.melire@gmail.com)(address . 26914@debbugs.gnu.org)
87d1bbv9pz.fsf@gnu.org
Mekeor Melire <mekeor.melire@gmail.com> skribis:

Toggle quote (9 lines)
> From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001
> From: Mekeor Melire <mekeor.melire@gmail.com>
> 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:

Toggle snippet (13 lines)
starting phase `configure'
running "runhaskell Setup.hs" with command "configure" and parameters ("--prefix=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13" "--libdir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/lib" "--bindir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/bin" "--docdir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/share/doc/xmonad-0.13" "--libsubdir=$compiler/$pkg-$version" "--package-db=/tmp/guix-build-xmonad-0.13.drv-0/package.conf.d" "--global" "--extra-include-dirs=/gnu/store/8nkj1w5whm5gwrhsmqvm1w6im27vz02g-bzip2-1.0.6/include" "--extra-include-dirs=/gnu/store/c140q16b1n4x0j2i7wv1awc1c39ipzrr-xz-5.2.2/include" "--extra-include-dirs=/gnu/store/0xm7szwymsv87z7y4bi2lgvx2jhniqms-file-5.28/include" "--extra-include-dirs=/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/include" "--extra-include-dirs=/gnu/store/alg6ani0nnwrxyz15d1j5d0k6qs2m5sk-make-4.2.1/include" "--extra-include-dirs=/gnu/store/zq65kpvwwxgc3qqbf9apic8gyss2l0zq-binutils-2.27/include" "--extra-include-dirs=/gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include" "--extra-include-dirs=/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/include" "--extra-include-dirs=/gnu/store/5bh7p754d09wcp64ckxlvwz7lgyk0h59-linux-libre-headers-4.4.47/include" "--extra-lib-dirs=/gnu/store/97npy629c49g2wgl343f1ib4s1kx3qfn-ghc-7.10.2/lib" "--extra-lib-dirs=/gnu/store/mxv2gzxxq6pnhnw2s82pja6a4jwcjr6y-ghc-extensible-exceptions-0.1.1.4/lib" "--extra-lib-dirs=/gnu/store/8i7nclkag4mkk81jzh42zr6vs2i3k981-ghc-mtl-2.2.1/lib" "--extra-lib-dirs=/gnu/store/hdix7lfyr2l74hs70x79rnn76iay0xyz-ghc-quickcheck-2.8.2/lib" "--extra-lib-dirs=/gnu/store/2ssg9sv8brvlc9sd5g99w0vqxx7hl163-ghc-setlocale-1.0.0.4/lib" "--extra-lib-dirs=/gnu/store/6v36gn4qb0ap4b2is98dz6klad3sw67k-ghc-utf8-string-1.0.1.1/lib" "--extra-lib-dirs=/gnu/store/fh7aha81zn11482g3vwrp7d37z8qn4cq-ghc-x11-1.8/lib" "--extra-lib-dirs=/gnu/store/8nkj1w5whm5gwrhsmqvm1w6im27vz02g-bzip2-1.0.6/lib" "--extra-lib-dirs=/gnu/store/c140q16b1n4x0j2i7wv1awc1c39ipzrr-xz-5.2.2/lib" "--extra-lib-dirs=/gnu/store/0xm7szwymsv87z7y4bi2lgvx2jhniqms-file-5.28/lib" "--extra-lib-dirs=/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/lib" "--extra-lib-dirs=/gnu/store/k7029k5va68lkapbzcycdzj7m5bjb4b8-bash-4.4.12/lib" "--extra-lib-dirs=/gnu/store/zq65kpvwwxgc3qqbf9apic8gyss2l0zq-binutils-2.27/lib" "--extra-lib-dirs=/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/lib" "--extra-lib-dirs=/gnu/store/1h0p1lgl5i1dmwa0rzxflv664zwwm6am-glibc-utf8-locales-2.25/lib" "--enable-tests")
Configuring xmonad-0.13...
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.

Is anything amiss?

Thanks,
Ludo’.
L
L
Ludovic Courtès wrote on 30 May 2017 18:01
(name . Mekeor Melire)(address . mekeor.melire@gmail.com)(address . 26914@debbugs.gnu.org)
87o9ua1ghq.fsf@gnu.org
Hi Mekeor,

Any update on this? :-)

Ludo’.

ludo@gnu.org (Ludovic Courtès) skribis:

Toggle quote (29 lines)
> Mekeor Melire <mekeor.melire@gmail.com> skribis:
>
>> From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001
>> From: Mekeor Melire <mekeor.melire@gmail.com>
>> 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:
>
> starting phase `configure'
> running "runhaskell Setup.hs" with command "configure" and parameters ("--prefix=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13" "--libdir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/lib" "--bindir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/bin" "--docdir=/gnu/store/4hj4h460n39n41mw4ms010yb1birg4zp-xmonad-0.13/share/doc/xmonad-0.13" "--libsubdir=$compiler/$pkg-$version" "--package-db=/tmp/guix-build-xmonad-0.13.drv-0/package.conf.d" "--global" "--extra-include-dirs=/gnu/store/8nkj1w5whm5gwrhsmqvm1w6im27vz02g-bzip2-1.0.6/include" "--extra-include-dirs=/gnu/store/c140q16b1n4x0j2i7wv1awc1c39ipzrr-xz-5.2.2/include" "--extra-include-dirs=/gnu/store/0xm7szwymsv87z7y4bi2lgvx2jhniqms-file-5.28/include" "--extra-include-dirs=/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/include" "--extra-include-dirs=/gnu/store/alg6ani0nnwrxyz15d1j5d0k6qs2m5sk-make-4.2.1/include" "--extra-include-dirs=/gnu/store/zq65kpvwwxgc3qqbf9apic8gyss2l0zq-binutils-2.27/include" "--extra-include-dirs=/gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include" "--extra-include-dirs=/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/include" "--extra-include-dirs=/gnu/store/5bh7p754d09wcp64ckxlvwz7lgyk0h59-linux-libre-headers-4.4.47/include" "--extra-lib-dirs=/gnu/store/97npy629c49g2wgl343f1ib4s1kx3qfn-ghc-7.10.2/lib" "--extra-lib-dirs=/gnu/store/mxv2gzxxq6pnhnw2s82pja6a4jwcjr6y-ghc-extensible-exceptions-0.1.1.4/lib" "--extra-lib-dirs=/gnu/store/8i7nclkag4mkk81jzh42zr6vs2i3k981-ghc-mtl-2.2.1/lib" "--extra-lib-dirs=/gnu/store/hdix7lfyr2l74hs70x79rnn76iay0xyz-ghc-quickcheck-2.8.2/lib" "--extra-lib-dirs=/gnu/store/2ssg9sv8brvlc9sd5g99w0vqxx7hl163-ghc-setlocale-1.0.0.4/lib" "--extra-lib-dirs=/gnu/store/6v36gn4qb0ap4b2is98dz6klad3sw67k-ghc-utf8-string-1.0.1.1/lib" "--extra-lib-dirs=/gnu/store/fh7aha81zn11482g3vwrp7d37z8qn4cq-ghc-x11-1.8/lib" "--extra-lib-dirs=/gnu/store/8nkj1w5whm5gwrhsmqvm1w6im27vz02g-bzip2-1.0.6/lib" "--extra-lib-dirs=/gnu/store/c140q16b1n4x0j2i7wv1awc1c39ipzrr-xz-5.2.2/lib" "--extra-lib-dirs=/gnu/store/0xm7szwymsv87z7y4bi2lgvx2jhniqms-file-5.28/lib" "--extra-lib-dirs=/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/lib" "--extra-lib-dirs=/gnu/store/k7029k5va68lkapbzcycdzj7m5bjb4b8-bash-4.4.12/lib" "--extra-lib-dirs=/gnu/store/zq65kpvwwxgc3qqbf9apic8gyss2l0zq-binutils-2.27/lib" "--extra-lib-dirs=/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/lib" "--extra-lib-dirs=/gnu/store/1h0p1lgl5i1dmwa0rzxflv664zwwm6am-glibc-utf8-locales-2.25/lib" "--enable-tests")
> Configuring xmonad-0.13...
> 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.
>
> Is anything amiss?
>
> Thanks,
> Ludo’.
L
L
Ludovic Courtès wrote on 30 May 2017 18:01
control message for bug #26914
(address . control@debbugs.gnu.org)
87mv9u1ghi.fsf@gnu.org
tags 26914 moreinfo
R
R
Ricardo Wurmus wrote on 30 May 2017 23:46
Re: bug#26914: gnu: xmonad: Update to 0.13.
(name . Ludovic Courtès)(address . ludo@gnu.org)
87inki2f2a.fsf@elephly.net
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (10 lines)
>>> From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001
>>> From: Mekeor Melire <mekeor.melire@gmail.com>
>>> 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:
[…]
Toggle quote (9 lines)
>> 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.

It now also fails with this:

Toggle snippet (14 lines)
starting phase `configure'
running "runhaskell Setup.hs" with command "configure" and parameters ("--prefix=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13" "--libdir=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13/lib" "--bindir=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13/bin" "--docdir=/gnu/store/q0j9nnbss5iam67l37aqva3ly9fzgkc4-xmonad-0.13/share/doc/xmonad-0.13" "--libsubdir=$compiler/$pkg-$version" "--package-db=/tmp/guix-build-xmonad-0.13.drv-0/package.conf.d" "--global" "--extra-include-dirs=/gnu/store/8nkj1w5whm5gwrhsmqvm1w6im27vz02g-bzip2-1.0.6/include" "--extra-include-dirs=/gnu/store/c140q16b1n4x0j2i7wv1awc1c39ipzrr-xz-5.2.2/include" "--extra-include-dirs=/gnu/store/0xm7szwymsv87z7y4bi2lgvx2jhniqms-file-5.28/include" "--extra-include-dirs=/gnu/store/55r4yg5iw9zh2j3zvzc6272k5xn4yxg4-gawk-4.1.4/include" "--extra-include-dirs=/gnu/store/alg6ani0nnwrxyz15d1j5d0k6qs2m5sk-make-4.2.1/include" "--extra-include-dirs=/gnu/store/zq65kpvwwxgc3qqbf9apic8gyss2l0zq-binutils-2.27/include" "--extra-include-dirs=/gnu/store/4iw4r2majarqlm19adaikqw126jxqf2p-gcc-5.4.0/include" "--extra-include-dirs=/gnu/store/rmjlycdgiq8pfy5hfi42qhw3k7p6kdav-glibc-2.25/include" "--extra-include-dirs=/gnu/store/5bh7p754d09wcp64ckxlvwz7lgyk0h59-linux-libre-headers-4.4.47/include" "--extra-lib-dirs=/gnu/store/97npy629c49g2wgl343f1ib4s1kx3qfn-ghc-7.10.2/lib" "--extra-lib-dirs=/gnu/store/mxv2gzxxq6pnhnw2s82pja6a4jwcjr6y-ghc-extensible-exceptions-0.1.1.4/lib" "--extra-lib-dirs=/gnu/store/8i7nclkag4mkk81jzh42zr6vs2i3k981-ghc-mtl-2.2.1/lib" "--extra-lib-dirs=/gnu/store/hdix7lfyr2l74hs70x7
Configuring xmonad-0.13...
Setup.lhs: At least the following dependencies are missing:
X11 ==1.8.*
phase `configure' succeeded after 4.0 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.
phase `build' failed after 1.0 seconds

(Side note: the configure phase really should fail in these cases.)

I believe this requires an upgrade to many of our Haskell packages.
We should try to catch up with the latest Haskell platform.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
M
M
Mekeor Melire wrote on 21 Jun 2017 01:46
(name . Ricardo Wurmus)(address . rekado@elephly.net)
874lvaql2b.fsf@gmail.com
Ricardo Wurmus <rekado@elephly.net> writes:

Toggle quote (21 lines)
> Ludovic Courtès <ludo@gnu.org> writes:
>>>> From e262ad6e9f706c6d688ad313ae6c9045af42ecb1 Mon Sep 17 00:00:00 2001
>>>> From: Mekeor Melire <mekeor.melire@gmail.com>
>>>> 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.

Toggle quote (3 lines)
> It now also fails with this:
>
> --8<---------------cut here---------------start------------->8---
[…]
Toggle quote (2 lines)
> Setup.lhs: At least the following dependencies are missing:
> X11 ==1.8.*
[…]
Toggle quote (2 lines)
> --8<---------------cut here---------------end--------------->8---
>
[…]
Toggle quote (3 lines)
> 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.
R
R
Ricardo Wurmus wrote on 21 Jun 2017 09:34
Re: bug#26914: gnu: ghc-x11: Update to 1.8.
(name . Ludovic Courtès)(address . ludo@gnu.org)
87r2yd3ib7.fsf@elephly.net
Ludovic Courtès <ludo@gnu.org> writes:

Toggle quote (13 lines)
> Mekeor Melire <mekeor.melire@gmail.com> skribis:
>
>> From 3a02781178d777e3251c5e74a1426419fd218d93 Mon Sep 17 00:00:00 2001
>> From: Mekeor Melire <mekeor.melire@gmail.com>
>> Date: Sat, 13 May 2017 23:34:39 +0200
>> Subject: [PATCH] gnu: ghc-x11: Update to 1.8.
>>
>> ---
>> gnu/packages/haskell.scm | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Applied with adjusted commit log, thanks!

Looks like this hasn’t actually been pushed.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
R
R
Ricardo Wurmus wrote on 21 Jun 2017 09:43
Re: bug#26914: gnu: xmonad: Update to 0.13.
(name . Mekeor Melire)(address . mekeor.melire@gmail.com)
87podx3hvv.fsf@elephly.net
Mekeor Melire <mekeor.melire@gmail.com> writes:

Toggle quote (10 lines)
> 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.

Yes, you’re right. The patch for “ghc-x11” actually hadn’t been
pushed. I was able to build xmonad, but I noticed these warnings:

Toggle snippet (7 lines)
Configuring xmonad-0.13...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package process-1.2.3.0 requires directory-1.2.2.0
package xmonad-0.13 requires directory-1.2.7.0

This indicates that we really need to update other packages too.
I’ll push this now and close this bug, but we really need to harmonise
the Haskell packages.

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
Closed
?