aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-12-05 01:03:31 +0100
committerRicardo Wurmus <rekado@elephly.net>2021-12-05 01:03:31 +0100
commit948557857082bf97882af71143c4c442ee793626 (patch)
tree134e83fcaebf3a551ac78877c6282d937b6c206c
parent48235c37dbe1b599ec087c847330e074c703fe07 (diff)
downloadguix-948557857082bf97882af71143c4c442ee793626.tar.gz
guix-948557857082bf97882af71143c4c442ee793626.zip
gnu: java-native-access: Use older GCC.
* gnu/packages/java.scm (java-native-access)[native-inputs]: Add gcc-7 to fix the build.
-rw-r--r--gnu/packages/java.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 827ad571c9..9261ccd367 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -60,6 +60,7 @@
#:use-module (gnu packages elf)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages gawk)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gl)
#:use-module (gnu packages ghostscript) ;lcms
@@ -13005,7 +13006,8 @@ from ORO, Inc.")
("libx11" ,libx11)
("libxt" ,libxt)))
(native-inputs
- `(("java-junit" ,java-junit)
+ `(("gcc" ,gcc-7)
+ ("java-junit" ,java-junit)
("java-hamcrest-core" ,java-hamcrest-core)))
(home-page "https://github.com/java-native-access/jna")
(synopsis "Access to native shared libraries from Java")