oraclejdk8distro, oraclejdk8psu_distro: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:33:24 +00:00
parent 15c52af2fe
commit 3a7f3a1119
2 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,8 @@
, installjdk ? true , installjdk ? true
, pluginSupport ? true , pluginSupport ? true
, installjce ? false , installjce ? false
, licenseAccepted ? false , config
, licenseAccepted ? config.oraclejdk.accept_license or false
, glib , glib
, libxml2 , libxml2
, libav_0_8 , libav_0_8

View File

@ -7197,14 +7197,12 @@ in
(if pluginSupport then appendToName "with-plugin" else x: x) (if pluginSupport then appendToName "with-plugin" else x: x)
(callPackage ../development/compilers/oraclejdk/jdk8cpu-linux.nix { (callPackage ../development/compilers/oraclejdk/jdk8cpu-linux.nix {
inherit installjdk pluginSupport; inherit installjdk pluginSupport;
licenseAccepted = config.oraclejdk.accept_license or false;
}); });
oraclejdk8psu_distro = installjdk: pluginSupport: oraclejdk8psu_distro = installjdk: pluginSupport:
(if pluginSupport then appendToName "with-plugin" else x: x) (if pluginSupport then appendToName "with-plugin" else x: x)
(callPackage ../development/compilers/oraclejdk/jdk8psu-linux.nix { (callPackage ../development/compilers/oraclejdk/jdk8psu-linux.nix {
inherit installjdk pluginSupport; inherit installjdk pluginSupport;
licenseAccepted = config.oraclejdk.accept_license or false;
}); });
javacard-devkit = pkgsi686Linux.callPackage ../development/compilers/javacard-devkit { }; javacard-devkit = pkgsi686Linux.callPackage ../development/compilers/javacard-devkit { };