anchor.diff:        maven
       ];
   
  -    buildPhase = "mvn package -Dmaven.repo.local=$out/.m2";
  +    buildPhase = "mvn package -Dmaven.repo.local=$out/.m2 -P desktop,all-platforms";
   
       # keep only *.{pom,jar,sha1,nbm} and delete all ephemeral files with lastModified timestamps inside
       installPhase = ''
  
positive.code: in
  stdenv.mkDerivation rec {
    pname = "dbeaver-ce";
    version = "7.3.5"; # When updating also update fetchedMavenDeps.sha256
  
    src = fetchFromGitHub {
      owner = "dbeaver";
      repo = "dbeaver";
      rev = version;
      sha256 = "sha256-gEE7rndOaXzruWL7TG+QgVkq1+06tIZwyGzU9cFc+oU=";
    };
  
    fetchedMavenDeps = stdenv.mkDerivation {
  
negative.code:       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/${systemPlatform}/dbeaver $out/dbeaver
  
        # Patch binaries.
        interpreter=$(cat $NIX_CC/nix-support/dynamic-linker)
  