oraclejdk*: remove appendToName to have a consistent package name for repology

This commit is contained in:
Felix Buehler 2022-02-28 15:23:07 +01:00
parent 9d821edfd1
commit b862d19b09
2 changed files with 4 additions and 5 deletions

View file

@ -66,7 +66,7 @@ let
in in
let result = stdenv.mkDerivation rec { let result = stdenv.mkDerivation rec {
pname = if installjdk then "oraclejdk" else "oraclejre"; pname = if installjdk then "oraclejdk" else "oraclejre" + lib.optionalString pluginSupport "-with-plugin";
version = "${productVersion}u${patchVersion}"; version = "${productVersion}u${patchVersion}";
src = src =

View file

@ -12674,10 +12674,9 @@ with pkgs;
jdkdistro = oraclejdk8distro; jdkdistro = oraclejdk8distro;
oraclejdk8distro = installjdk: pluginSupport: oraclejdk8distro = installjdk: pluginSupport:
(if pluginSupport then appendToName "with-plugin" else x: x) (callPackage ../development/compilers/oraclejdk/jdk8-linux.nix {
(callPackage ../development/compilers/oraclejdk/jdk8-linux.nix { inherit installjdk pluginSupport;
inherit installjdk pluginSupport; });
});
oraclejdk11 = callPackage ../development/compilers/oraclejdk/jdk11-linux.nix { }; oraclejdk11 = callPackage ../development/compilers/oraclejdk/jdk11-linux.nix { };