diff options
author | lassulus <lass@aidsballs.de> | 2015-06-15 01:24:22 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-06-15 01:24:22 +0200 |
commit | 2874f6ed04d530d6a278cf52acbee66fa107f174 (patch) | |
tree | e75d9d8f8a1f873fedc9ec254cbfdde3332de160 /modules/cd/default.nix | |
parent | c5353ca4444e07d493417df66403f85e4ac44d73 (diff) | |
parent | 9abc41056323fc0af22dd1cfaf8083f34a633472 (diff) |
Merge remote-tracking branch 'nomic/master'
Diffstat (limited to 'modules/cd/default.nix')
-rw-r--r-- | modules/cd/default.nix | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/modules/cd/default.nix b/modules/cd/default.nix index 9bb4d0f2a..1d621e03d 100644 --- a/modules/cd/default.nix +++ b/modules/cd/default.nix @@ -62,7 +62,18 @@ # TODO warn about stale repodirs repos = addNames { testing = { - # TODO hooks = { post-receive = ... + hooks = { + update = '' + #! /bin/sh + set -euf + echo update hook: $* >&2 + ''; + post-update = '' + #! /bin/sh + set -euf + echo post-update hook: $* >&2 + ''; + }; }; }; |