build-system/haskell: Fix regression.

This is a follow-up of a0f880afea.

* 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 @@ (define builder
;; use of ungexp-splicing.
#:cabal-revision
#$@(match (assoc-ref inputs "cabal-revision")
(#f '())
(#f '(#f))
(lst lst))
#:configure-flags #$configure-flags