aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-build-coordinator/hooks.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/guix-build-coordinator/hooks.scm b/guix-build-coordinator/hooks.scm
index f4c95f6..0b41e11 100644
--- a/guix-build-coordinator/hooks.scm
+++ b/guix-build-coordinator/hooks.scm
@@ -141,7 +141,8 @@
#:key
(command-line-arguments '())
(public-key (read-file-sexp %public-key-file))
- (private-key (read-file-sexp %private-key-file)))
+ (private-key (read-file-sexp %private-key-file))
+ post-publish-hook)
(define (s3-file-exists? name)
(if (null?
(retry-on-error
@@ -185,6 +186,11 @@
#:times 6
#:delay 20))
+ (when post-publish-hook
+ (post-publish-hook directory
+ narinfo-filename
+ nar-filename))
+
(delete-file (string-append directory "/" narinfo-filename))
(delete-file (string-append directory "/" nar-filename))))))