anchor.diff:  
     propagatedBuildInputs = [
       bash
  -    coreutils
     ];
   
     # If TMPDIR is in the unpack dir we run afoul of blaze's infinite symlink
  
positive.code:         examples/java-native/src/test/java/com/example/myproject:hello
    '';
  
    installPhase = ''
      mkdir -p $out/bin
      mv output/bazel $out/bin
      wrapProgram "$out/bin/bazel" --prefix PATH : "${jdk}/bin"
    '';
  
    dontStrip = true;
  
negative.code:   sourceRoot = ".";
  
    postPatch = ''
      for f in $(grep -l -r '#!/bin/bash'); do
        substituteInPlace "$f" --replace '#!/bin/bash' '#!${bash}/bin/bash'
      done
      for f in \
        src/main/java/com/google/devtools/build/lib/analysis/CommandHelper.java \
        src/main/java/com/google/devtools/build/lib/bazel/rules/BazelConfiguration.java \
        src/main/java/com/google/devtools/build/lib/bazel/rules/sh/BazelShRuleClasses.java \
        src/main/java/com/google/devtools/build/lib/rules/cpp/LinkCommandLine.java \
        ; do
        substituteInPlace "$f" --replace /bin/bash ${bash}/bin/bash
      done
    '';
  
  