dbeaver: allow custom java -Xmx value (#352597)
This commit is contained in:
commit
99b39caae0
@ -12,6 +12,7 @@
|
||||
glib,
|
||||
webkitgtk_4_0,
|
||||
glib-networking,
|
||||
override_xmx ? "1024m",
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
@ -54,6 +55,11 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace dbeaver.ini \
|
||||
--replace-fail '-Xmx1024m' '-Xmx${override_xmx}'
|
||||
'';
|
||||
|
||||
installPhase =
|
||||
if !stdenvNoCC.hostPlatform.isDarwin then
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user