[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 03/43] gnu: xmonad: Patch to work on new Haskell Platform
From: |
Eric Bavier |
Subject: |
Re: [PATCH 03/43] gnu: xmonad: Patch to work on new Haskell Platform |
Date: |
Mon, 19 Oct 2015 08:36:08 -0500 |
On Thu, 15 Oct 2015 14:20:57 +0200
Paul van der Walt <address@hidden> wrote:
> * gnu/packages/wm.scm (xmonad): Fetch cabal patch to compile against GHC
> 7.10.2.
> ---
> gnu/packages/wm.scm | 16 +++++++++++++++-
> 1 file changed, 15 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
> index 9ca5b96..f2de576 100644
> --- a/gnu/packages/wm.scm
> +++ b/gnu/packages/wm.scm
> @@ -2,6 +2,7 @@
> ;;; Copyright © 2015 Eric Dvorsak <address@hidden>
> ;;; Copyright © 2015 Siniša Biđin <address@hidden>
> ;;; Copyright © 2015 Eric Bavier <address@hidden>
> +;;; Copyright © 2015 Paul van der Walt <address@hidden>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -165,10 +166,23 @@ developers.")
> `(("ghc-mtl" ,ghc-mtl)
> ("ghc-utf8-string" ,ghc-utf8-string)
> ("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
> - ("ghc-x11" ,ghc-x11)))
> + ("ghc-x11" ,ghc-x11)
> + ("xmonad-cabal-patch"
> + ,(origin
> + (method url-fetch)
> + (uri (string-append
> + "https://hackage.haskell.org/package/xmonad-" version
> "/revision/1.cabal"))
> + (sha256
> + (base32
> + "0gdzsn2mv45i67wzmcjxyljr2w9fccc19n0i0f69mwvwcgi9v10j"))))))
Could this instead be formulated as a patch, rather than a complete
file overwrite? A diff would help in understanding the rationale for
the change.
> (arguments
> `(#:phases
> (modify-phases %standard-phases
> + (add-before
> + 'configure 'update-cabal
> + (lambda* _
> + (copy-file (assoc-ref %build-inputs "xmonad-cabal-patch")
> + "xmonad.cabal")))
> (add-after
> 'install 'install-xsession
> (lambda _
[PATCH 09/43] gnu: ghc-quickcheck: Update to 2.8.1., Paul van der Walt, 2015/10/15
[PATCH 02/43] gnu: ghc-old-locale: New package for updated GHC., Paul van der Walt, 2015/10/15
[PATCH 04/43] gnu: ghc-xmonad-contrib: Update to version 0.11.4., Paul van der Walt, 2015/10/15
[PATCH 05/43] gnu: ghc-dlist: Update to 0.7.1.2., Paul van der Walt, 2015/10/15