anchor.diff:          if ! test -x \"\$dir\"; then mkdir -p \"\$dir\"; fi
       done
   }
  -" [initPath];
  +" [];
  +
  +	defInstallBin = FullDepEntry "
  +
  +installBin() {
  +  ensureDir $out/bin
  +  cp "$@" $out/bin
  +}
  +
  +" [];
  +
  +	defAssertEnvExists = FullDepEntry "
  +assertEnvExists(){
  +  if test -z "${!1}"; then
  +      msg=${2:-error: assertion failed: env var $1 is required}
  +      echo $msg >&2; exit 1
  +  fi
  +}
  +" [];
   
   	defFail = FullDepEntry "# Called when some build action fails.  If \$succeedOnFailure is set,
   # create the file `\$out/nix-support/failed' to signal failure, and
  
positive.code:         exit \$?
      fi
  }
  " [initPath];
  
  	runAddInputsHook = FullDepEntry "# Allow the caller to augment buildInputs (it's not always possible to
  # do this before the call to setup.sh, since the PATH is empty at that
  # point; here we have a basic Unix environment).
  eval \"\$addInputsHook\"
  " [initPath gccSetupHook defFail];
  
  	defFindInputs = FullDepEntry "# Recursively find all build inputs.
  findInputs()
  
negative.code:         done
      fi
  }
  " [];
  
  	getInputs = FullDepEntry "pkgs=\"\"
  if test -n \"\$buildinputs\"; then
  