guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/153: gnu: xmonad: Patch for updated libraries.


From: Paul
Subject: 05/153: gnu: xmonad: Patch for updated libraries.
Date: Wed, 21 Oct 2015 20:49:54 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit 1518acdccd08e8f752350d7cf6274da4c71d18b9
Author: Paul van der Walt <address@hidden>
Date:   Wed Oct 14 22:26:55 2015 +0200

    gnu: xmonad: Patch for updated libraries.
    
    * gnu/packages/wm.scm (xmonad): Fetch cabal patch to compile against GHC
      7.10.2.
---
 gnu/packages/wm.scm |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index e0859cc..be235d0 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2015 Siniša Biđin <address@hidden>
 ;;; Copyright © 2015 Eric Bavier <address@hidden>
 ;;; Copyright © 2015 xd1le <address@hidden>
+;;; Copyright © 2015 Paul van der Walt <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -199,10 +200,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"))))))
     (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 _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]