anchor.diff:      jdk
       zip
       unzip
  -    which
  -    binutils
       makeWrapper
     ];
   
  
positive.code: 
    propagatedBuildInputs = [
      bash
      coreutils
    ];
  
    # If TMPDIR is in the unpack dir we run afoul of blaze's infinite symlink
  
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
    '';
  
  