mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
dbeaver-bin: fix build on darwin (#354490)
This commit is contained in:
commit
8991dc8e9d
@ -41,7 +41,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
sourceRoot = lib.optional stdenvNoCC.hostPlatform.isDarwin "dbeaver.app";
|
||||
sourceRoot = lib.optional stdenvNoCC.hostPlatform.isDarwin "DBeaver.app";
|
||||
|
||||
nativeBuildInputs =
|
||||
[ makeWrapper ]
|
||||
@ -56,7 +56,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
dontBuild = true;
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace dbeaver.ini \
|
||||
substituteInPlace ${lib.optionalString stdenvNoCC.hostPlatform.isDarwin "Contents/Eclipse/"}dbeaver.ini \
|
||||
--replace-fail '-Xmx1024m' '-Xmx${override_xmx}'
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user