lemminx: halve the closure size

This commit is contained in:
Christian Kögler 2024-01-28 14:38:23 +01:00
parent e63efbf4e9
commit 3796848533

View file

@ -1,7 +1,7 @@
{ lib { lib
, fetchFromGitHub , fetchFromGitHub
, makeWrapper , makeWrapper
, jre , jre_headless
, maven , maven
, writeScript , writeScript
, lemminx , lemminx
@ -67,7 +67,7 @@ maven.buildMavenPackage rec {
install -Dm644 org.eclipse.lemminx/target/org.eclipse.lemminx-uber.jar \ install -Dm644 org.eclipse.lemminx/target/org.eclipse.lemminx-uber.jar \
$out/share $out/share
makeWrapper ${jre}/bin/java $out/bin/lemminx \ makeWrapper ${jre_headless}/bin/java $out/bin/lemminx \
--add-flags "-jar $out/share/org.eclipse.lemminx-uber.jar" --add-flags "-jar $out/share/org.eclipse.lemminx-uber.jar"
runHook postInstall runHook postInstall