dbeaver-bin: fix build on darwin (#354490)

This commit is contained in:
Austin Horstman 2024-11-08 11:28:33 -06:00 committed by GitHub
commit 8991dc8e9d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
inherit hash; inherit hash;
}; };
sourceRoot = lib.optional stdenvNoCC.hostPlatform.isDarwin "dbeaver.app"; sourceRoot = lib.optional stdenvNoCC.hostPlatform.isDarwin "DBeaver.app";
nativeBuildInputs = nativeBuildInputs =
[ makeWrapper ] [ makeWrapper ]
@ -56,7 +56,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
dontBuild = true; dontBuild = true;
prePatch = '' prePatch = ''
substituteInPlace dbeaver.ini \ substituteInPlace ${lib.optionalString stdenvNoCC.hostPlatform.isDarwin "Contents/Eclipse/"}dbeaver.ini \
--replace-fail '-Xmx1024m' '-Xmx${override_xmx}' --replace-fail '-Xmx1024m' '-Xmx${override_xmx}'
''; '';