mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: ghc-vector-algorithms: Fix build errors.
* gnu/packages/haskell.scm (ghc-vector-algorithms)[arguments]: Allow build with newer version of vector; add phase to disable building of broken QuickCheck tests.
This commit is contained in:
parent
376a6df4a5
commit
178bd68116
1 changed files with 11 additions and 0 deletions
|
@ -8307,6 +8307,17 @@ (define-public ghc-vector-algorithms
|
|||
(base32
|
||||
"0w4hf598lpxfg58rnimcqxrbnpqq2jmpjx82qa5md3q6r90hlipd"))))
|
||||
(build-system haskell-build-system)
|
||||
;; The limits have been adjusted in a revision of the cabal file.
|
||||
(arguments
|
||||
'(#:configure-flags (list "--allow-newer=vector")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; The tests cannot be built due to type errors.
|
||||
(add-after 'unpack 'do-not-build-quickcheck-tests
|
||||
(lambda _
|
||||
(substitute* "vector-algorithms.cabal"
|
||||
(("\\!flag\\(properties\\)") "True"))
|
||||
#t)))))
|
||||
(inputs
|
||||
`(("ghc-vector" ,ghc-vector)
|
||||
("ghc-mtl" ,ghc-mtl)
|
||||
|
|
Loading…
Reference in a new issue