anchor.diff:    # If we're in hydra, we can dispense with the more verbose error
     # messages and make problems easier to spot.
     inHydra = config.inHydra or false;
  +  getName = attrs: attrs.name or ("${attrs.pname or "«name-missing»"}-${attrs.version or "«version-missing»"}");
   
     # See discussion at https://github.com/NixOS/nixpkgs/pull/25304#issuecomment-298385426
     # for why this defaults to false, but I (@copumpkin) want to default it to true soon.
  
positive.code:   handleEvalIssue = { meta, attrs }: { reason , errormsg ? "" }:
      let
        msg = if inHydra
          then "Failed to evaluate ${attrs.name or "«name-missing»"}: «${reason}»: ${errormsg}"
          else ''
            Package ‘${attrs.name or "«name-missing»"}’ in ${pos_str meta} ${errormsg}, refusing to evaluate.
  
          '' + (builtins.getAttr reason remediation) attrs;
  
  
negative.code:         You can install it anyway by whitelisting this package, using the
          following methods:
  
          a) for `nixos-rebuild` you can add ‘${getName attrs}’ to
             `nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
             like so:
  
               {
                 nixpkgs.config.permittedInsecurePackages = [
                   "${getName attrs}"
                 ];
               }
  
          b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
          ‘${getName attrs}’ to `permittedInsecurePackages` in
          ~/.config/nixpkgs/config.nix, like so:
  
               {
                 permittedInsecurePackages = [
                   "${getName attrs}"
                 ];
               }
  
  