anchor.diff: -{ stdenv, lib, fetchurl, runCommand, jdk, zip, unzip, bash, writeCBin, coreutils, makeWrapper, which, python, gnused
  +{ stdenv, lib, fetchurl, runCommand, makeWrapper
  +, jdk, zip, unzip, bash, writeCBin, coreutils
  +, which, python, gnused, gnugrep, findutils
   # Always assume all markers valid (don't redownload dependencies).
   # Also, don't clean up environment variables.
   , enableNixHacks ? false
  
positive.code: 
      int main(int argc, char *argv[]) {
        char *path = getenv("PATH");
        char *pathToAppend = "${lib.makeBinPath [ coreutils gnused ]}";
        char *newPath;
        if (path != NULL) {
          int length = strlen(path) + 1 + strlen(pathToAppend) + 1;
  
negative.code:   # Save paths to hardcoded dependencies so Nix can detect them.
    postFixup = ''
      mkdir -p $out/nix-support
      echo "${customBash} ${defaultShellPath}" > $out/nix-support/depends
    '';
  
    dontStrip = true;
  