summaryrefslogtreecommitdiffstats
path: root/4lib/krebs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to '4lib/krebs/default.nix')
-rw-r--r--4lib/krebs/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/4lib/krebs/default.nix b/4lib/krebs/default.nix
index 38c2a97d6..0c59076b6 100644
--- a/4lib/krebs/default.nix
+++ b/4lib/krebs/default.nix
@@ -1,6 +1,14 @@
{ lib, ... }:
-builtins // lib // {
+with builtins;
+with lib;
+
+builtins // lib // rec {
+
+ addName = name: set:
+ set // { inherit name; };
+
+ addNames = mapAttrs addName;
types = import ./types.nix { inherit lib; };