Skip to content

Commit

Permalink
Add all_settings_schemas output
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Sep 18, 2024
1 parent 38399f8 commit 4d1c85c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nix/sample-outputs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ in
sample_environments
);

all_settings_schemas = writeTextFile {
name = "all_settings_schemas.json";
text = builtins.toJSON (
lib.mapAttrs (n: v: lib.listToAttrs (map (x: lib.nameValuePair x.name x.meta.settings_schema) v.ui_metadata.kernels))
sample_environments
);
};

printVersions = let
versionsMap = with lib;
mapAttrs (lang: value: if (hasAttr "versions" value) then value.versions else {})
Expand Down

0 comments on commit 4d1c85c

Please sign in to comment.