packages/jre17_standard: provide meta.platforms

This commit is contained in:
Max Headroom 2022-05-27 18:30:02 +02:00
parent ce7c30c832
commit 6195760e2d

View file

@ -19,13 +19,15 @@ super: rec {
disallowedReferences = [ super.stdenv.cc.cc ];
});
jre17_standard = super.jre_minimal.override {
jdk = super.jdk17_headless;
modules = [
"java.se"
"jdk.naming.dns"
"jdk.crypto.ec"
"jdk.zipfs"
];
};
jre17_standard = let
jre = super.jre_minimal.override {
jdk = super.jdk17_headless;
modules = [
"java.se"
"jdk.naming.dns"
"jdk.crypto.ec"
"jdk.zipfs"
];
};
in jre // { meta = jre.meta // { inherit (super.jdk17_headless.meta) platforms; }; };
}