Skip to content

Commit

Permalink
feat: add support for require args
Browse files Browse the repository at this point in the history
  • Loading branch information
blaggacao committed Feb 22, 2024
1 parent 3e897a1 commit 3200ca9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions grow/newExtractFor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ in {
l.mapAttrsToList (name: a: {
inherit name;
inherit (a) description;
requiresArgs =
if (target ? meta && target.meta ? requiresArgs)
then (builtins.elem name target.meta.requiresArgs)
else false;
})
actions';
}
Expand Down

0 comments on commit 3200ca9

Please sign in to comment.