guix-commits
[Top][All Lists]
Advanced

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

42/154: gnu: ghc-split: Update dependencies.


From: Paul
Subject: 42/154: gnu: ghc-split: Update dependencies.
Date: Thu, 22 Oct 2015 13:51:34 +0000

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

commit eeb1c5b43b9c8ec3dcbd49c9fcae958de99c7824
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 01:01:17 2015 +0200

    gnu: ghc-split: Update dependencies.
    
    * gnu/packages/haskell.scm (ghc-split): Update package dependencies for
      compatibility with new GHC.
---
 gnu/packages/haskell.scm |   21 ++++++++++++++++++++-
 1 files changed, 20 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 2d5f857..6b4b5eb 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1397,8 +1397,27 @@ and high speed.")
         (base32
          "0xa3j0gwr6k5vizxybnzk5fgb3pppgspi6mysnp2gwjp2dbrxkzr"))))
     (build-system haskell-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before
+          'configure 'update-cabal
+          ;; the cabal file on hackage is updated, but the tar.gz does not
+          ;; include it.
+          (lambda* _
+            (copy-file (assoc-ref %build-inputs "ghc-split-cabal-update")
+                       "split.cabal"))))))
     (inputs
-     `(("ghc-quickcheck" ,ghc-quickcheck)))
+     `(("ghc-quickcheck" ,ghc-quickcheck)
+       ("ghc-split-cabal-update"
+        ,(origin
+           (method url-fetch)
+           (uri (string-append
+                 "https://hackage.haskell.org/package/split-";
+                 version "/revision/1.cabal"))
+           (sha256
+            (base32
+             "1i1h5v1zqvganhzy1wdd9r648yjpir078n0g8051njg82h2f964h"))))))
     (home-page "http://hackage.haskell.org/package/split";)
     (synopsis
      "Combinator library for splitting lists")



reply via email to

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