aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-05-23 13:47:20 +0300
committerEfraim Flashner <efraim@flashner.co.il>2024-05-23 20:39:13 +0300
commit36942212908164381231f96a76fcbbf86ac2856a (patch)
tree8de89b54e324c16e67a2b009f44f21d135a2f9fd /gnu/packages
parent055d70f5d8bc8cf2d5f495308d3d902285324e71 (diff)
downloadguix-36942212908164381231f96a76fcbbf86ac2856a.tar.gz
guix-36942212908164381231f96a76fcbbf86ac2856a.zip
gnu: brltty: Build with java only on some architectures.
* gnu/packages/accessibility.scm (brltty)[native-inputs]: Only build with icedtea on x86_64-linux, i686-linux and aarch64-linux. Change-Id: I95e2cfa17c1f484677ad8f26e3a865eba83362dd
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/accessibility.scm27
1 files changed, 16 insertions, 11 deletions
diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm
index cf5a568a77..962b340c9b 100644
--- a/gnu/packages/accessibility.scm
+++ b/gnu/packages/accessibility.scm
@@ -152,17 +152,22 @@ terminals.")
(assoc-ref python:%standard-phases
'add-install-to-pythonpath)))))
(native-inputs
- (list clisp
- python-cython
- doxygen
- gettext-minimal
- `(,icedtea "jdk")
- ;; ("linuxdoc" ,linuxdoc-tools)
- ocaml
- ocaml-findlib
- pkg-config
- python-wrapper
- tcl))
+ (append
+ (list clisp
+ python-cython
+ doxygen
+ gettext-minimal)
+ ;; icedtea doesn't build reliably on all architectures.
+ (if (or (target-x86?)
+ (target-aarch64?))
+ (list `(,icedtea "jdk"))
+ '())
+ (list ;; ("linuxdoc" ,linuxdoc-tools)
+ ocaml
+ ocaml-findlib
+ pkg-config
+ python-wrapper
+ tcl)))
(inputs
(list alsa-lib
at-spi2-core