diff --git a/lib/default.nix b/lib/default.nix new file mode 100644 index 0000000..6d1dce5 --- /dev/null +++ b/lib/default.nix @@ -0,0 +1,4 @@ +_: { + ## (a -> {name :: String; value :: b}) -> [a] -> AttrSet + mapListToAttrs = fn: list: builtins.listToAttrs (builtins.map fn list); +}