Merge pull request #279251 from martinjlowm/chore/dynamodb-local-use-jre-minimal

dynamodb-local: Use JRE minimal
This commit is contained in:
Janik 2024-01-30 10:30:57 +01:00 committed by GitHub
commit 1eddee8f5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,9 +1,21 @@
{ lib { lib
, stdenvNoCC , stdenvNoCC
, fetchurl , fetchurl
, jre , jdk_headless
, jre_minimal
, makeBinaryWrapper , makeBinaryWrapper
}: }:
let
jre = jre_minimal.override {
modules = [
"java.logging"
"java.xml"
"java.desktop"
"java.management"
];
jdk = jdk_headless;
};
in
stdenvNoCC.mkDerivation (finalAttrs: { stdenvNoCC.mkDerivation (finalAttrs: {
pname = "dynamodb-local"; pname = "dynamodb-local";
version = "2023-12-14"; version = "2023-12-14";