anchor.diff:      pkgs = mkOption {
         defaultText = literalExample
           ''import "''${nixos}/.." {
  -            inherit (config.nixpkgs) config overlays localSystem crossSystem;
  +            inherit (cfg) config overlays localSystem crossSystem;
             }
           '';
         default = import ../../.. {
  -        localSystem = { inherit (cfg) system; } // cfg.localSystem;
  -        inherit (cfg) config overlays crossSystem;
  +        inherit (cfg) config overlays localSystem crossSystem;
         };
         type = pkgsType;
         example = literalExample ''import <nixpkgs> {}'';
  
positive.code: { config, lib, pkgs, ... }:
  
  with lib;
  
  let
    cfg = config.nixpkgs;
  
    isConfig = x:
      builtins.isAttrs x || lib.isFunction x;
  
negative.code:         </programlisting>
          See <code>nixpkgs.localSystem</code> for more information.
  
          Ignored when <code>nixpkgs.localSystem</code> is set.
          Ignored when <code>nixpkgs.pkgs</code> is set.
        '';
      };
  