[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
293/329: gnu: ghc-stylish-haskell: Fix Cabal dependency constraints.
From: |
guix-commits |
Subject: |
293/329: gnu: ghc-stylish-haskell: Fix Cabal dependency constraints. |
Date: |
Wed, 20 Nov 2019 21:18:49 -0500 (EST) |
samplet pushed a commit to branch master
in repository guix.
commit a54dda095f5568545f1de0c53c01e4d39ae42f9b
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 | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index f352f6b..052162b 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -10367,6 +10367,15 @@ 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,"))
+ #t)))))
(inputs
`(("ghc-aeson" ,ghc-aeson)
("ghc-file-embed" ,ghc-file-embed)
- 328/329: gnu: ghc-haddock: Update to 2.22.0., (continued)
- 328/329: gnu: ghc-haddock: Update to 2.22.0., guix-commits, 2019/11/20
- 266/329: gnu: cabal-install: Update to 2.4.0.0., guix-commits, 2019/11/20
- 277/329: gnu: Add ghc-getopt-generics., guix-commits, 2019/11/20
- 286/329: gnu: ghc-pandoc-citeproc: Update to 0.16.2., guix-commits, 2019/11/20
- 280/329: gnu: Add ghc-microlens-aeson., guix-commits, 2019/11/20
- 290/329: gnu: darcs: Fix Cabal dependency constraints., guix-commits, 2019/11/20
- 283/329: gnu: Add ghc-ipynb., guix-commits, 2019/11/20
- 291/329: gnu: ghc-microlens-aeson: Patch tests for i686-linux., guix-commits, 2019/11/20
- 278/329: gnu: Add ghc-unicode-transforms., guix-commits, 2019/11/20
- 279/329: gnu: Add ghc-hsyaml., guix-commits, 2019/11/20
- 293/329: gnu: ghc-stylish-haskell: Fix Cabal dependency constraints.,
guix-commits <=
- 284/329: gnu: ghc-pandoc: Update to 2.7.3., guix-commits, 2019/11/20
- 292/329: gnu: ghc-bsb-http-chunked: Disable tests on i686-linux., guix-commits, 2019/11/20
- 298/329: gnu: ghc-equivalence: Update to 0.3.5., guix-commits, 2019/11/20
- 303/329: gnu: idris: Fix Cabal dependency constraints., guix-commits, 2019/11/20
- 301/329: gnu: agda: Update to 2.6.0.1., guix-commits, 2019/11/20
- 300/329: gnu: ghc-atomic-primops: Update to 0.8.3., guix-commits, 2019/11/20
- 307/329: gnu: Add ghc-timezone-olson., guix-commits, 2019/11/20
- 316/329: gnu: Add ghc-monoid-extras., guix-commits, 2019/11/20
- 318/329: gnu: Add ghc-diagrams-core., guix-commits, 2019/11/20
- 322/329: gnu: Add ghc-diagrams-solve., guix-commits, 2019/11/20