anchor.diff:      postPhases =
         ["generateWrappersPhase" "finalPhase"];
   
  -    prePhases = 
  +    prePhases =
         ["antSetupPhase"];
   
       antSetupPhase = with stdenv.lib; ''
  
positive.code: 
        origSrc=$src
        src=$(findTarball $src)
      ''; 
    }
  )
  
negative.code:         canonicalizeJar $j
          echo file jar $j >> $out/nix-support/hydra-build-products
        done
  
        runHook postInstall
      '';
  
      generateWrappersPhase =
        let
          cp = w: "-cp '${lib.optionalString (w ? classPath) w.classPath}${lib.optionalString (w ? mainClass) ":$out/share/java/*"}'";
        in
        ''
        header "Generating jar wrappers"
      '' + (stdenv.lib.concatMapStrings (w: ''
  
  