anchor.diff:    # Save paths to hardcoded dependencies so Nix can detect them.
     postFixup = ''
       mkdir -p $out/nix-support
  -    echo "${customBash} ${gnused} ${coreutils}" > $out/nix-support/depends
  +    echo "${customBash} ${defaultShellPath}" > $out/nix-support/depends
     '';
   
     dontStrip = true;
  
positive.code: , libcxx, CoreFoundation, CoreServices, Foundation
  }:
  
  let srcDeps = stdenv.lib.singleton (
        fetchurl {
          url = "https://github.com/google/desugar_jdk_libs/archive/f5e6d80c6b4ec6b0a46603f72b015d45cf3c11cd.zip";
          sha256 = "c80f3f3d442d8a6ca7adc83f90ecd638c3864087fdd6787ffac070b6f1cc8f9b";
        }
      );
      distDir = runCommand "bazel-deps" {} ''
        mkdir -p $out
        for i in ${builtins.toString srcDeps}; do cp $i $out/$(stripHash $i); done
      '';
  in
  stdenv.mkDerivation rec {
  
  
negative.code: 
      int main(int argc, char *argv[]) {
        char *path = getenv("PATH");
        char *pathToAppend = "${defaultShellPath}";
        char *newPath;
        if (path != NULL) {
          int length = strlen(path) + 1 + strlen(pathToAppend) + 1;
  