mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
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'.
This commit is contained in:
parent
81b228ed14
commit
a54dda095f
1 changed files with 9 additions and 0 deletions
|
@ -10367,6 +10367,15 @@ (define-public ghc-stylish-haskell
|
||||||
(base32
|
(base32
|
||||||
"1ls11fdx6snvfx8yykpidz142zzxwi5bazl49hgfqlwx50rqcp7w"))))
|
"1ls11fdx6snvfx8yykpidz142zzxwi5bazl49hgfqlwx50rqcp7w"))))
|
||||||
(build-system haskell-build-system)
|
(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
|
(inputs
|
||||||
`(("ghc-aeson" ,ghc-aeson)
|
`(("ghc-aeson" ,ghc-aeson)
|
||||||
("ghc-file-embed" ,ghc-file-embed)
|
("ghc-file-embed" ,ghc-file-embed)
|
||||||
|
|
Loading…
Reference in a new issue