anchor.diff:          else if isDarwin  parsed then vendors.apple
           else if isWindows parsed then vendors.pc
           else                     vendors.unknown;
  -      kernel = getKernel args.kernel;
  +      kernel = if hasPrefix "darwin" args.kernel      then getKernel "darwin"
  +               else if hasPrefix "netbsd" args.kernel then getKernel "netbsd"
  +               else                                   getKernel args.kernel;
         abi =
           /**/ if args ? abi       then getAbi args.abi
           else if isLinux   parsed then
  
positive.code: with lib.lists;
  with lib.types;
  with lib.attrsets;
  with (import ./inspect.nix { inherit lib; }).predicates;
  
  let
  
negative.code:   } // { # aliases
      # 'darwin' is the kernel for all of them. We choose macOS by default.
      darwin = kernels.macos;
      watchos = kernels.ios;
      tvos = kernels.ios;
      win32 = kernels.windows;
  