anchor.diff:        mkdir -p $dst
   
         cp ${builtins.toFile "options.json" (builtins.unsafeDiscardStringContext (builtins.toJSON
  -        (builtins.listToAttrs (map (o: { name = o.name; value = removeAttrs o ["name" "visible" "internal"]; }) optionsList'))))
  +        (builtins.listToAttrs (map (o: { name = o.name; value = removeAttrs o ["name" "visible" "internal"]; }) optionsList))))
         } $dst/options.json
   
         mkdir -p $out/nix-support
  
positive.code:   prefixesToStrip = map (p: "${toString p}/") ([ ../../.. ] ++ extraSources);
    stripAnyPrefixes = lib.flip (lib.fold lib.removePrefix) prefixesToStrip;
  
    # Convert the list of options into an XML file.
    optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList');
  
    optionsDocBook = runCommand "options-db.xml" {} ''
      optionsXML=${optionsXML}
  
negative.code:     else x;
  
    # Clean up declaration sites to not refer to the NixOS source tree.
    optionsListDesc = lib.flip map optionsListVisible (opt: opt // {
      declarations = map stripAnyPrefixes opt.declarations;
    }
    // lib.optionalAttrs (opt ? example) { example = substFunction opt.example; }
  