diff --git a/lib/attrs.nix b/lib/attrs.nix index 4595467..17ed3bf 100644 --- a/lib/attrs.nix +++ b/lib/attrs.nix @@ -4,4 +4,6 @@ let in { mapFilterAttrs = pred: f: attrs: filterAttrs pred (mapAttrs' f attrs); + + genAttrs' = values: f: listToAttrs (map f values); }