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
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}";
src =

View file

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