anchor.diff:      # enables patchShebangs above. Unfortunately, patchShebangs ignores our $SHELL setting
       # and instead goes by $PATH, which happens to contain bootstrapTools. So it goes and
       # patches our shebangs back to point at bootstrapTools. This makes sure bash comes first.
  -    extraInitialPath = [ pkgs.bash ];
  +    extraBuildInputs = with pkgs; [ xz darwin.CF libcxx pkgs.bash ];
   
       extraPreHook = ''
  +      export PATH=${pkgs.bash}/bin:$PATH
         export PATH_LOCALE=${pkgs.darwin.locale}/share/locale
       '';
   
  
positive.code:       export PATH_LOCALE=${pkgs.darwin.locale}/share/locale
      '';
  
      allowedRequisites =
        [ bootstrapTools ] ++
        (with pkgs; [ xz libcxx libcxxabi icu ]) ++
  
negative.code:   stageFun = step: last: {shell             ? "${bootstrapTools}/bin/sh",
                            overrides         ? (pkgs: {}),
                            extraPreHook      ? "",
                            extraBuildInputs,
                            allowedRequisites ? null}:
      let
        thisStdenv = import ../generic {
  