build-system/haskell: Fix regression.

This is a follow-up of a0f880afea3b29e817866de0170ed579738db2d1.

* guix/build-system/haskell.scm (haskell-build): Correctly handle the absence
of a "cabal-revision" input.
This commit is contained in:
Mathieu Othacehe 2021-07-28 20:33:14 +02:00
parent f12709ec5f
commit 29a1c93b72
No known key found for this signature in database
GPG Key ID: 8354763531769CA6

View File

@ -153,7 +153,7 @@ provides a 'Setup.hs' file as its build system."
;; use of ungexp-splicing.
#:cabal-revision
#$@(match (assoc-ref inputs "cabal-revision")
(#f '())
(#f '(#f))
(lst lst))
#:configure-flags #$configure-flags