[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/08: gnu: ghc-stylish-haskell: Fix Cabal dependency constraints.
From: |
guix-commits |
Subject: |
01/08: gnu: ghc-stylish-haskell: Fix Cabal dependency constraints. |
Date: |
Sat, 9 Nov 2019 00:03:12 -0500 (EST) |
samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit 0cda6eb52b5dc4e8116dd4f72263e1569e2008e5
Author: Timothy Sample <address@hidden>
Date: Fri Nov 8 21:47:54 2019 -0500
gnu: ghc-stylish-haskell: Fix Cabal dependency constraints.
* gnu/packages/haskell-xyz.scm (ghc-stylish-haskell): Add a phase that
updates the Cabal file to allow for newer versions of
'haskell-src-exts'.
---
gnu/packages/haskell-xyz.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index cf00fa8..a8f5cf7 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -10362,6 +10362,14 @@ occurrences of a substring (the first in case of
overlaps) with another.")
(base32
"1ls11fdx6snvfx8yykpidz142zzxwi5bazl49hgfqlwx50rqcp7w"))))
(build-system haskell-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'update-constraints
+ (lambda _
+ (substitute* "stylish-haskell.cabal"
+ (("haskell-src-exts >= 1\\.18 && < 1\\.21,")
+ "haskell-src-exts >= 1.18 && < 1.22,")))))))
(inputs
`(("ghc-aeson" ,ghc-aeson)
("ghc-file-embed" ,ghc-file-embed)
- branch wip-haskell-updates updated (da26330 -> a22add6), guix-commits, 2019/11/09
- 04/08: gnu: ghc-hindent: Update to 5.3.1., guix-commits, 2019/11/09
- 03/08: gnu: Remove ghc-monadplus., guix-commits, 2019/11/09
- 01/08: gnu: ghc-stylish-haskell: Fix Cabal dependency constraints.,
guix-commits <=
- 02/08: gnu: ghc-options: Fix Cabal dependency constraints., guix-commits, 2019/11/09
- 07/08: gnu: ghc-chart-cairo: Update to 1.9.1., guix-commits, 2019/11/09
- 08/08: gnu: ghc-atomic-primops: Update to 0.8.3., guix-commits, 2019/11/09
- 06/08: gnu: ghc-equivalence: Update to 0.3.5., guix-commits, 2019/11/09
- 05/08: gnu: ghc-geniplate-mirror: Update Cabal file to r2., guix-commits, 2019/11/09