Merge pull request #279251 from martinjlowm/chore/dynamodb-local-use-jre-minimal
dynamodb-local: Use JRE minimal
This commit is contained in:
commit
1eddee8f5c
1 changed files with 13 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue