summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-25 01:29:37 +0200
committertv <tv@shackspace.de>2015-07-25 01:32:24 +0200
commit1eb292f0c9eeb7d0fad6738bc4f06e646cae289e (patch)
tree54a624fa26f12f17ca6e03fc4a2fb58003bab895
parent4df0d6e75b7e34db2fda4c8b782b93d265475272 (diff)
krebs.git.repos.*.hooks: default = {}
-rw-r--r--2configs/tv/git.nix1
-rw-r--r--3modules/krebs/git.nix1
2 files changed, 1 insertions, 1 deletions
diff --git a/2configs/tv/git.nix b/2configs/tv/git.nix
index f884ea464..2c0cc6b14 100644
--- a/2configs/tv/git.nix
+++ b/2configs/tv/git.nix
@@ -66,7 +66,6 @@ let
make-restricted-repo = name: { desc ? null, ... }: {
inherit name desc;
public = false;
- hooks = {}; # TODO default
};
make-rules =
diff --git a/3modules/krebs/git.nix b/3modules/krebs/git.nix
index 499d33095..604645189 100644
--- a/3modules/krebs/git.nix
+++ b/3modules/krebs/git.nix
@@ -72,6 +72,7 @@ let
};
hooks = mkOption {
type = types.attrsOf types.str;
+ default = {};
description = ''
Repository-specific hooks.
'';
[cgit] Unable to lock slot /tmp/cgit/31300000.lock: No such file or directory (2)