diff options
author | lassulus <lass@aidsballs.de> | 2016-04-18 15:10:43 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-04-18 15:10:43 +0200 |
commit | c7a6e74b3d151ec480bf5dfbb6e6acb612a88043 (patch) | |
tree | f5284434d3c70ea2651deea6df9d7b11200cb783 /tv/2configs/git.nix | |
parent | 3e59f5fb4c9d110d5f91d60c875ca49a414c2a6f (diff) | |
parent | 066381dff01f51dd24a829d6cf9de9f6465534f3 (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'tv/2configs/git.nix')
-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 4c1fba59a..2e5fc301b 100644 --- a/tv/2configs/git.nix +++ b/tv/2configs/git.nix @@ -71,13 +71,13 @@ let make-public-repo = name: { desc ? null, section ? null, ... }: { inherit name desc section; public = true; - hooks = { + hooks = optionalAttrs (config.krebs.build.host.name == "cd") { post-receive = pkgs.git-hooks.irc-announce { # TODO make nick = config.krebs.build.host.name the default nick = config.krebs.build.host.name; channel = "#retiolum"; server = "cd.retiolum"; - verbose = config.krebs.build.host.name == "cd"; + verbose = true; }; }; }; |