mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53: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;
|
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}'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user