summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/default.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-11-09 19:07:26 +0100
committertv <tv@krebsco.de>2015-11-09 19:07:26 +0100
commit193bb70e2ea95a56839fdd79985ed27f4962426d (patch)
tree28dab916ff9a8ed7b701a965812ccbf8747869f4 /krebs/4lib/default.nix
parent1f39b86dad2f8ddeb8008f6dda02a6dea1c369a6 (diff)
{tv => krebs} git lib & git hooks
Diffstat (limited to 'krebs/4lib/default.nix')
-rw-r--r--krebs/4lib/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/krebs/4lib/default.nix b/krebs/4lib/default.nix
index 3f27ea891..1cabeae27 100644
--- a/krebs/4lib/default.nix
+++ b/krebs/4lib/default.nix
@@ -3,7 +3,7 @@
with builtins;
with lib;
-rec {
+let out = rec {
eq = x: y: x == y;
@@ -17,6 +17,7 @@ rec {
dir.has-default-nix = path: pathExists (path + "/default.nix");
dns = import ./dns.nix { inherit lib; };
+ git = import ./git.nix { lib = lib // out; };
listset = import ./listset.nix { inherit lib; };
shell = import ./shell.nix { inherit lib; };
tree = import ./tree.nix { inherit lib; };
@@ -33,4 +34,5 @@ rec {
mapAttrValues = f: mapAttrs (_: f);
setAttr = name: value: set: set // { ${name} = value; };
-}
+
+}; in out