diff options
author | tv <tv@krebsco.de> | 2016-02-03 13:36:54 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-02-03 13:36:54 +0100 |
commit | b2f19764ef2b1351673d9407a4cd813ce8b8b230 (patch) | |
tree | 326c35f87bb8407cee01ccef1d91a6c9b2a0e362 | |
parent | 63b33517293eff59b62d7d7686c67b6ca54173a9 (diff) |
krebs.git.rules: specify type
-rw-r--r-- | tv/2configs/git.nix | 4 |
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; |