diff --git a/pkgs/by-name/db/dbeaver-bin/package.nix b/pkgs/by-name/db/dbeaver-bin/package.nix index ece1216d445c..c9cc55579986 100644 --- a/pkgs/by-name/db/dbeaver-bin/package.nix +++ b/pkgs/by-name/db/dbeaver-bin/package.nix @@ -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}' '';