summaryrefslogtreecommitdiffstats
path: root/tv/2configs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-03 13:36:54 +0100
committertv <tv@krebsco.de>2016-02-03 13:36:54 +0100
commitb2f19764ef2b1351673d9407a4cd813ce8b8b230 (patch)
tree326c35f87bb8407cee01ccef1d91a6c9b2a0e362 /tv/2configs
parent63b33517293eff59b62d7d7686c67b6ca54173a9 (diff)
krebs.git.rules: specify type
Diffstat (limited to 'tv/2configs')
-rw-r--r--tv/2configs/git.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/tv/2configs/git.nix b/tv/2configs/git.nix
index 5e0f95c..01dc7de 100644
--- a/tv/2configs/git.nix
+++ b/tv/2configs/git.nix
@@ -9,7 +9,7 @@ let
enable = true;
root-title = "public repositories at ${config.krebs.build.host.name}";
root-desc = "keep calm and engage";
- repos = mapAttrs (_: s: removeAttrs s ["collaborators"]) repos;
+ repos = repos;
rules = rules;
};
};
@@ -99,7 +99,7 @@ let
repo = [ repo ];
perm = fetch;
} ++
- optional (length (repo.collaborators or []) > 0) {
+ optional (repo.collaborators or [] != []) {
user = repo.collaborators;
repo = [ repo ];
perm = fetch;