anchor.diff:        wrapProgram $out/Applications/DBeaver.app/Contents/MacOS/dbeaver \
           --prefix JAVA_HOME : ${jdk.home} \
           --prefix PATH : ${jdk}/bin
  +
  +      runHook postInstall
       '' else ''
  +      runHook preInstall
  +
         mkdir -p $out/
  -      cp -r ${productTargetPath}/linux/gtk/x86_64/dbeaver $out/dbeaver
  +      cp -r ${productTargetPath}/linux/gtk/${systemPlatform}/dbeaver $out/dbeaver
   
         # Patch binaries.
         interpreter=$(cat $NIX_CC/nix-support/dynamic-linker)
  
positive.code:       Teradata, Firebird, Derby, etc.
      '';
      license = licenses.asl20;
      platforms = [ "x86_64-linux" "x86_64-darwin" ];
      maintainers = with maintainers; [ jojosch ];
    };
  }
  
negative.code:     dontFixup = true;
      outputHashAlgo = "sha256";
      outputHashMode = "recursive";
      outputHash = "sha256-xKlFFQXd2U513KZKQa7ttSFNX2gxVr9hNsvyaoN/rEE=";
    };
  
    buildInputs = [
  