build-system: clojure: Use the standard error regarding cross builds.

Rather than raising an error in the build system.

* guix/build-system/clojure.scm (lower): Return #f for cross builds, rather
than calling error.

Change-Id: Id97c8f5140f55fe2c52ccb0db36fd993922c6a7e
This commit is contained in:
Christopher Baines 2023-10-30 08:43:34 +00:00
parent b76a16b20b
commit 98ae807643
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

View file

@ -83,8 +83,8 @@ (define* (lower name
#:clojure #:jdk #:zip)))
(if target
(error "No cross-compilation for clojure-build-system yet: LOWER"
target) ; FIXME
#f ; FIXME: No cross-compilation for
; clojure-build-system yet
(bag (name name)
(system system)
(host-inputs `(,@(if source