anchor.diff: -{ go, govers, parallel, lib, fetchgit, fetchhg, rsync }:
  +{ go, govers, parallel, lib, fetchgit, fetchhg, rsync, removeReferencesTo }:
   
   { name, buildInputs ? [], nativeBuildInputs ? [], passthru ? {}, preFixup ? ""
   
  
positive.code:   '';
  
    preFixup = preFixup + ''
      while read file; do
        cat $file ${removeExpr removeReferences} > $file.tmp
        mv $file.tmp $file
        chmod +x $file
      done < <(find $bin/bin -type f 2>/dev/null)
    '';
  
    shellHook = ''
  
negative.code:   (builtins.removeAttrs args [ "goPackageAliases" "disabled" ]) // {
  
    inherit name;
    nativeBuildInputs = [ removeReferencesTo go parallel ]
      ++ (lib.optional (!dontRenameImports) govers) ++ nativeBuildInputs;
    buildInputs = [ go ] ++ buildInputs;
  
  