summary refs log tree commit diff
path: root/pkgs/development/libraries/java
diff options
context:
space:
mode:
authorChristian Kögler <ck3d@gmx.de>2021-07-10 09:10:43 +0200
committerChristian Kögler <ck3d@gmx.de>2021-07-10 09:22:09 +0200
commit5528f1170c1a276903eabc7533020eccc9d2cd4c (patch)
tree9473413ea3f60c6c1882d53306a4733b278dd3cf /pkgs/development/libraries/java
parentfaec8bbbf78f3a1e3439c321c2270b2f9209bff1 (diff)
downloadnixpkgs-5528f1170c1a276903eabc7533020eccc9d2cd4c.tar
nixpkgs-5528f1170c1a276903eabc7533020eccc9d2cd4c.tar.gz
nixpkgs-5528f1170c1a276903eabc7533020eccc9d2cd4c.tar.bz2
nixpkgs-5528f1170c1a276903eabc7533020eccc9d2cd4c.tar.lz
nixpkgs-5528f1170c1a276903eabc7533020eccc9d2cd4c.tar.xz
nixpkgs-5528f1170c1a276903eabc7533020eccc9d2cd4c.tar.zst
nixpkgs-5528f1170c1a276903eabc7533020eccc9d2cd4c.zip
saxonb_8_8, saxon: Fix jre incompatibility
Diffstat (limited to 'pkgs/development/libraries/java')
-rw-r--r--pkgs/development/libraries/java/saxon/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/java/saxon/default.nix b/pkgs/development/libraries/java/saxon/default.nix
index e6f2fcadbe7..da1e6120da6 100644
--- a/pkgs/development/libraries/java/saxon/default.nix
+++ b/pkgs/development/libraries/java/saxon/default.nix
@@ -1,7 +1,7 @@
-{ lib, stdenv, fetchurl, unzip, jre }:
+{ lib, stdenv, fetchurl, unzip, jre, jre8 }:
 
 let
-  common = { pname, version, src, description
+  common = { pname, version, src, description, java ? jre
            , prog ? null, jar ? null, license ? lib.licenses.mpl20 }:
     stdenv.mkDerivation {
       name = "${pname}-${version}";
@@ -45,6 +45,7 @@ in {
     description = "XSLT 1.0 processor";
     # http://saxon.sourceforge.net/saxon6.5.3/conditions.html
     license = lib.licenses.mpl10;
+    java = jre8;
   };
 
   saxonb_8_8 = common {
@@ -56,6 +57,7 @@ in {
       sha256 = "15bzrfyd2f1045rsp9dp4znyhmizh1pm97q8ji2bc0b43q23xsb8";
     };
     description = "Complete and conformant processor of XSLT 2.0, XQuery 1.0, and XPath 2.0";
+    java = jre8;
   };
 
   saxonb_9_1 = common {