Unverified Commit 8991dc8e authored by Austin Horstman's avatar Austin Horstman Committed by GitHub
Browse files

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

parents 2789dcae 4904e3f5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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}'
  '';